CN107438028B - Method and equipment for processing customer service - Google Patents
Method and equipment for processing customer service Download PDFInfo
- Publication number
- CN107438028B CN107438028B CN201610356192.9A CN201610356192A CN107438028B CN 107438028 B CN107438028 B CN 107438028B CN 201610356192 A CN201610356192 A CN 201610356192A CN 107438028 B CN107438028 B CN 107438028B
- Authority
- CN
- China
- Prior art keywords
- code block
- forwarding label
- forwarding
- label
- service
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/50—Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B10/00—Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
- H04B10/27—Arrangements for networking
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/16—Time-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/1605—Fixed allocated frame structures
- H04J3/1652—Optical Transport Network [OTN]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/16—Time-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/1694—Allocation of channels in TDM/TDMA networks, e.g. distributed multiplexers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/44—Star or tree networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/50—Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]
- H04L45/502—Frame based
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/50—Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]
- H04L45/507—Label distribution
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/54—Organization of routing tables
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/04—Selecting arrangements for multiplex systems for time-division multiplexing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/04—Selecting arrangements for multiplex systems for time-division multiplexing
- H04Q11/0428—Integrated services digital network, i.e. systems for transmission of different types of digitised signals, e.g. speech, data, telecentral, television signals
- H04Q11/0435—Details
- H04Q11/0442—Exchange access circuits
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computing Systems (AREA)
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本发明实施例公开了一种客户业务处理的方法和设备,其中,客户业务处理的方法包括:接收客户业务,根据所述客户业务中携带的第一转发标签将所述客户业务映射到M个时隙中,所述第一转发标签指示第一转发目的地址;通过所述M个时隙将所述客户业务发送至目标物理通道中,所述目标物理通道与所述第一转发目的地址具有对应关系;其中,M为大于或等于1的正整数。通过本发明的技术方案,实现了灵活以太网的同一个交换平面中进行多种业务交换。
Embodiments of the present invention disclose a method and device for processing client services, wherein the method for processing client services includes: receiving client services, and mapping the client services to M number of client services according to a first forwarding label carried in the client services In the time slot, the first forwarding label indicates the first forwarding destination address; the client service is sent to the target physical channel through the M time slots, and the target physical channel and the first forwarding destination address have the same value. Corresponding relationship; wherein, M is a positive integer greater than or equal to 1. Through the technical scheme of the present invention, multiple service exchanges are realized in the same switching plane of the flexible Ethernet.
Description
技术领域technical field
本发明涉及通信领域,尤其涉及一种客户业务处理的方法和设备。The present invention relates to the field of communications, and in particular, to a method and device for processing customer services.
背景技术Background technique
当前,光联网论坛(Optical Internetworking Forum,OIF)正在讨论扩展传统的以太网技术,以支持针对以太网业务的子速率、通道化、反向复用等应用场景,并将扩展后的以太网技术称为灵活以太网(Flexible Ethernet,FlexE)技术。例如,针对以太网业务的子速率的应用场景,能够支持将250G的以太网业务采用三路现有的100GE的物理媒质相关子层(Physical Medium Dependent,PMD)进行传送。针对以太网业务的反向复用的应用场景,能够支持将200G的以太网业务采用两路现有的100GE的PMD进行传送。针对以太网业务的通道化的应用场景,能够支持将多路低速率的以太网业务复用到高速率的灵活以太网中。接入网和城域网中采用了大量的以太网作为业务承载网络,由于FlexE技术支持以太网业务的子速率、通道化、反向复用等应用场景,增强了以太网接口的应用灵活性。Currently, the Optical Internetworking Forum (OIF) is discussing the extension of traditional Ethernet technology to support application scenarios such as sub-rate, channelization, and inverse multiplexing for Ethernet services. It is called flexible Ethernet (Flexible Ethernet, FlexE) technology. For example, for the application scenario of the sub-rate of the Ethernet service, it can support the transmission of the 250G Ethernet service by using the existing 100GE physical medium dependent sublayer (Physical Medium Dependent, PMD) of three channels. For the application scenario of inverse multiplexing of Ethernet services, it can support the transmission of 200G Ethernet services using two existing 100GE PMDs. For the application scenario of channelization of Ethernet services, it can support multiplexing multiple low-rate Ethernet services into high-rate flexible Ethernet. A large number of Ethernets are used as service bearer networks in access networks and metropolitan area networks. Since FlexE technology supports application scenarios such as sub-rate, channelization, and inverse multiplexing of Ethernet services, the application flexibility of Ethernet interfaces is enhanced. .
目前,FlexE技术仅作为接口技术支持点到点的应用,但其作为一种潜在的网络传送技术已经引起了业界的关注。将FlexE发展成网络传送技术,必然存在FlexE节点设备的交换需求。At present, FlexE technology only supports point-to-point applications as an interface technology, but it has attracted the attention of the industry as a potential network transmission technology. To develop FlexE into a network transmission technology, there must be switching requirements for FlexE node devices.
现有技术中,灵活以太网采用Cell(信元)统一交换的方案,即针对不同类型的业务采用Cell交换网进行统一交换。例如,针对时分复用(Time Division Multiplexing,TDM)业务,将其适配到Cell交换网,并依据FlexE服务层时隙(Calendar)的时隙配置信息完成交换。针对以太网数据业务,将其恢复出以太帧,再将其适配到Cell交换网,基于媒质访问控制(Media Access Control,MAC)地址完成交换。在Cell统一交换的方案中,存在L1层、L2层的处理,相当于在节点设备上设计两个交换平面,增加了设备的设计复杂度、功耗和成本。In the prior art, the flexible Ethernet adopts a solution of unified switching of cells (cells), that is, a Cell switching network is used for unified switching for different types of services. For example, for a time division multiplexing (Time Division Multiplexing, TDM) service, it is adapted to the Cell switching network, and the switching is completed according to the time slot configuration information of the FlexE service layer time slot (Calendar). For the Ethernet data service, the Ethernet frame is recovered, and then it is adapted to the Cell switching network, and the switching is completed based on the Media Access Control (Media Access Control, MAC) address. In the cell unified switching solution, there are L1 layer and L2 layer processing, which is equivalent to designing two switching planes on the node device, which increases the design complexity, power consumption and cost of the device.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本发明实施例提供一种客户业务处理的方法和设备,可以解决节点设备上业务交换的设计复杂度、功耗和成本的问题。In view of this, the embodiments of the present invention provide a method and device for processing client services, which can solve the problems of design complexity, power consumption and cost of service switching on node devices.
第一方面,本发明实施例提供了一种客户业务处理的方法,包括:接收客户业务,根据所述客户业务中携带的第一转发标签将所述客户业务映射到M个时隙中,所述第一转发标签指示第一转发目的地址;通过所述M个时隙将所述客户业务发送至目标物理通道中,所述目标物理通道与所述第一转发目的地址具有对应关系;其中,M为大于或等于1的正整数。In a first aspect, an embodiment of the present invention provides a method for processing client services, including: receiving client services, mapping the client services to M time slots according to a first forwarding label carried in the client services, and The first forwarding label indicates a first forwarding destination address; the client service is sent to a target physical channel through the M time slots, and the target physical channel has a corresponding relationship with the first forwarding destination address; wherein, M is a positive integer greater than or equal to 1.
客户业务可以包括数据业务和TDM业务,通过客户业务中携带的第一转发标签将客户业务映射到M个时隙中,并且通过M个时隙将客户业务发送至目标物理通道中,实现了在灵活以太网的同一个交换平面中进行多种业务的交换。The customer service can include data service and TDM service. The customer service is mapped to M time slots through the first forwarding label carried in the customer service, and the customer service is sent to the target physical channel through the M time slots. Multiple services are exchanged in the same switching plane of the flexible Ethernet.
在一种可能的实现方式中,所述根据所述客户业务中携带的第一转发标签将所述客户业务映射到M个时隙中,包括:所述第一转发标签和所述M个时隙具有对应关系,根据所述第一转发标签将所述客户业务映射到所述M个时隙中。In a possible implementation manner, the mapping of the client service into M timeslots according to the first forwarding label carried in the client service includes: the first forwarding label and the M timeslots The slots have a corresponding relationship, and the client traffic is mapped into the M time slots according to the first forwarding label.
通过建立第一转发标签和时隙之间的对应关系,可以根据第一转发标签将客户业务映射到对应的时隙,实现了在灵活以太网的同一个交换平面中进行多种业务的交换。By establishing the correspondence between the first forwarding label and the time slot, the customer service can be mapped to the corresponding time slot according to the first forwarding label, thereby realizing the exchange of multiple services in the same switching plane of the flexible Ethernet.
在一种可能的实现方式中,所述通过所述M个时隙将所述客户业务发送至目标物理通道中,包括:所述M个时隙和所述目标物理通道具有对应关系。In a possible implementation manner, the sending the client service to the target physical channel through the M time slots includes: the M time slots and the target physical channel have a corresponding relationship.
在一种可能的实现方式中,对所述客户业务进行编码,所述客户业务形成码块流;在所述客户业务的S码块中添加所述第一转发标签,所述S码块为所述码块流中的一种码块类型。In a possible implementation manner, the client service is encoded, and the client service forms a code block stream; the first forwarding label is added to the S code block of the client service, and the S code block is A codeblock type in the codeblock stream.
在一种可能的实现方式中,在所述客户业务的L码块中添加所述第一转发标签,所述L码块通过删除所述客户业务的空闲码块获得,所述空闲码块所述码块流中的一种码块类型。In a possible implementation manner, the first forwarding label is added to the L code block of the client service, and the L code block is obtained by deleting the idle code block of the client service, where the idle code block is located. A codeblock type in the codeblock stream described above.
在一种可能的实现方式中,所述方法还包括:在所述客户业务的帧头定位开销中添加所述第一转发标签。In a possible implementation manner, the method further includes: adding the first forwarding label to the frame header positioning overhead of the client service.
在一种可能的实现方式中,在所述客户业务中添加第二转发标签,所述第二转发标签指示所述客户业务的第二转发目的地址。In a possible implementation manner, a second forwarding label is added to the client service, and the second forwarding label indicates a second forwarding destination address of the client service.
第一方面,本发明实施例提供了一种客户业务处理的方法,包括:从目标物理通道中获取客户业务的M个时隙,从所述M个时隙中获取所述客户业务;获取所述客户业务中的第一转发标签,删除所述第一转发标签和/或添加第三转发标签;其中,所述第一转发标签指示第一转发目的地址,所述目标物理通道与所述第一转发目的地址具有对应关系;M为大于等于1的正整数。In a first aspect, an embodiment of the present invention provides a method for processing client services, including: acquiring M timeslots of client services from a target physical channel, acquiring the client services from the M timeslots; the first forwarding label in the customer service, delete the first forwarding label and/or add a third forwarding label; wherein, the first forwarding label indicates a first forwarding destination address, and the target physical channel is associated with the first forwarding label. A forwarding destination address has a corresponding relationship; M is a positive integer greater than or equal to 1.
通过从客户业务中获取第一转发标签,删除第一转发标签和/或添加第三转发标签,实现了在灵活以太网的同一个交换平面中进行多种业务的交换。By acquiring the first forwarding label from the customer service, deleting the first forwarding label and/or adding the third forwarding label, the switching of multiple services in the same switching plane of the flexible Ethernet is realized.
在一种可能的实现方式中,所述删除所述第一转发标签和/或添加第三转发标签,包括:所述第一转发标签为入标签,所述第三转发标签为出标签;根据第一转发标签获取第三转发标签;其中,所述第一转发标签和所述第三转发标签具有对应关系。In a possible implementation manner, the deleting the first forwarding label and/or adding the third forwarding label includes: the first forwarding label is an incoming label, and the third forwarding label is an outgoing label; according to The first forwarding label acquires a third forwarding label; wherein, the first forwarding label and the third forwarding label have a corresponding relationship.
在一种可能的实现方式中,所述添加第三转发标签,包括:删除所述客户业务的空闲码块,将携带所述第一转发标签的S码块转换为L码块,并且增加携带所述第三转发标签的S码块;所述空闲码块、S码块、L码块分别为所述客户业务经过编码形成的码块流中的三种码块类型。In a possible implementation manner, the adding a third forwarding label includes: deleting an idle code block of the customer service, converting an S code block carrying the first forwarding label into an L code block, and adding a code carrying the first forwarding label. The S code block of the third forwarding label; the idle code block, the S code block, and the L code block are respectively three code block types in the code block stream formed by the encoding of the customer service.
在一种可能的实现方式中,所述删除所述第一转发标签,包括:删除所述第一转发标签,将携带所述第一转发标签的码块恢复为正常码块;其中,所述正常码块包括S码块、L码块和帧头定位开销中的任意一种,所述S码块、L码块分别为所述客户业务经过编码形成的码块流中的两种码块类型。In a possible implementation manner, the deleting the first forwarding label includes: deleting the first forwarding label, and restoring the code block carrying the first forwarding label to a normal code block; wherein the The normal code block includes any one of the S code block, the L code block, and the frame header positioning overhead, and the S code block and the L code block are respectively two kinds of code blocks in the code block stream formed by the encoding of the customer service. type.
第三方面,本发明实施例提供了一种客户业务处理的的设备,包括:接收模块,用于接收客户业务;映射模块,用于根据所述客户业务中携带的第一转发标签将所述客户业务映射到M个时隙中,所述第一转发标签指示第一转发目的地址;发送模块,用于通过所述M个时隙将所述客户业务发送至目标物理通道中,所述目标物理通道与所述第一转发目的地址具有对应关系;其中,M为大于或等于1的正整数。In a third aspect, an embodiment of the present invention provides a device for processing client services, including: a receiving module, configured to receive client services; and a mapping module, configured to convert the client services according to a first forwarding label carried in the client services. The customer service is mapped into M time slots, and the first forwarding label indicates the first forwarding destination address; the sending module is configured to send the customer service to the target physical channel through the M time slots, and the target The physical channel has a corresponding relationship with the first forwarding destination address; wherein, M is a positive integer greater than or equal to 1.
客户业务可以包括数据业务和TDM业务,通过客户业务中携带的第一转发标签将客户业务映射到M个时隙中,并且通过M个时隙将客户业务发送至目标物理通道中,实现了在灵活以太网的同一个交换平面中进行多种业务的交换。The customer service can include data service and TDM service. The customer service is mapped to M time slots through the first forwarding label carried in the customer service, and the customer service is sent to the target physical channel through the M time slots. Multiple services are exchanged in the same switching plane of the flexible Ethernet.
在一种可能的实现方式中,所述映射模块,用于:所述第一转发标签和所述M个时隙具有对应关系,根据所述第一转发标签将所述客户业务映射到所述M个时隙中。In a possible implementation manner, the mapping module is configured to: the first forwarding label has a corresponding relationship with the M timeslots, and map the client service to the M timeslots according to the first forwarding label in M time slots.
通过建立第一转发标签和时隙之间的对应关系,可以根据第一转发标签将客户业务映射到对应的时隙,实现了在灵活以太网的同一个交换平面中进行多种业务的交换。By establishing the correspondence between the first forwarding label and the time slot, the customer service can be mapped to the corresponding time slot according to the first forwarding label, thereby realizing the exchange of multiple services in the same switching plane of the flexible Ethernet.
在一种可能的实现方式中,所述M个时隙和所述目标物理通道具有对应关系。In a possible implementation manner, the M time slots and the target physical channel have a corresponding relationship.
在一种可能的实现方式中,所述设备还包括:编码模块,用于对所述客户业务进行编码,所述客户业务形成码块流;第一添加模块,用于在所述客户业务的S码块中添加所述第一转发标签,所述S码块为所述码块流中的一种码块类型。In a possible implementation manner, the device further includes: an encoding module, configured to encode the client service, and the client service forms a code block stream; a first adding module, configured to encode the client service in the The first forwarding label is added to an S code block, where the S code block is a code block type in the code block stream.
在一种可能的实现方式中,所述第一添加模块,还用于:在所述客户业务的L码块中添加所述第一转发标签,所述L码块通过删除所述客户业务的空闲码块获得,所述空闲码块所述码块流中的一种码块类型。In a possible implementation manner, the first adding module is further configured to: add the first forwarding label to the L code block of the customer service, and the L code block deletes the The idle code block is obtained, and the idle code block is a type of code block in the code block stream.
在一种可能的实现方式中,所述设备包括第二添加模块,用于:在所述客户业务的帧头定位开销中添加所述第一转发标签。In a possible implementation manner, the device includes a second adding module, configured to: add the first forwarding label to the frame header positioning overhead of the client service.
在一种可能的实现方式中,所述设备还包括第三添加模块,用于:在所述客户业务中添加第二转发标签,所述第二转发标签指示所述客户业务的第二转发目的地址。In a possible implementation manner, the device further includes a third adding module, configured to: add a second forwarding label to the customer service, where the second forwarding label indicates a second forwarding purpose of the customer service address.
第四方面,本发明实施例提供了一种客户业务处理的设备,包括:客户业务获取模块,用于从目标物理通道中获取客户业务的M个时隙,从所述M个时隙中获取所述客户业务;转发标签获取模块,用于获取所述客户业务中的第一转发标签;转发标签增删模块,用于删除所述第一转发标签和/或添加第三转发标签;其中,所述第一转发标签指示第一转发目的地址,所述目标物理通道与所述第一转发目的地址具有对应关系;M为大于等于1的正整数。In a fourth aspect, an embodiment of the present invention provides a device for processing client services, including: a client service acquisition module configured to acquire M time slots of the client service from a target physical channel, and obtain M time slots from the M time slots the customer service; a forwarding label acquisition module, used to obtain the first forwarding label in the customer service; a forwarding label addition and deletion module, used to delete the first forwarding label and/or add a third forwarding label; wherein, the The first forwarding label indicates a first forwarding destination address, and the target physical channel has a corresponding relationship with the first forwarding destination address; M is a positive integer greater than or equal to 1.
从客户业务中获取第一转发标签,删除第一转发标签和/或添加第三转发标签,实现了在灵活以太网的同一个交换平面中进行多种业务的交换。Obtaining the first forwarding label from the customer service, deleting the first forwarding label and/or adding the third forwarding label, realizes the exchange of multiple services in the same switching plane of the flexible Ethernet.
在一种可能的实现方式中,所述转发标签获取模块,用于:所述第一转发标签为入标签,所述第三转发标签为出标签;根据第一转发标签获取第三转发标签;其中,所述第一转发标签和所述第三转发标签具有对应关系。In a possible implementation manner, the forwarding label obtaining module is configured to: the first forwarding label is an incoming label, the third forwarding label is an outgoing label; and the third forwarding label is obtained according to the first forwarding label; The first forwarding label and the third forwarding label have a corresponding relationship.
在一种可能的实现方式中,所述转发标签增删模块,用于:删除所述客户业务的空闲码块,将携带所述第一转发标签的S码块转换为L码块,并且增加携带所述第三转发标签的S码块;所述空闲码块、S码块、L码块分别为所述客户业务经过编码形成的码块流中的三种码块类型。In a possible implementation manner, the forwarding label addition and deletion module is configured to: delete the idle code block of the customer service, convert the S code block carrying the first forwarding label into an L code block, and increase the carrying The S code block of the third forwarding label; the idle code block, the S code block, and the L code block are respectively three code block types in the code block stream formed by the encoding of the customer service.
在一种可能的实现方式中,所述转发标签增删模块,用于:删除所述第一转发标签,将携带所述第一转发标签的码块恢复为正常码块;其中,所述正常码块包括S码块、L码块和帧头定位开销中的任意一种,所述S码块、L码块分别为所述客户业务经过编码形成的码块流中的两种码块类型。In a possible implementation manner, the forwarding label addition and deletion module is configured to: delete the first forwarding label, and restore the code block carrying the first forwarding label to a normal code block; wherein the normal code The block includes any one of the S code block, the L code block and the frame header positioning overhead, the S code block and the L code block are respectively two code block types in the code block stream formed by the encoding of the client service.
第五方面,本发明实施例提供了一种计算机设备,包括:处理器、存储器、总线和通信接口;存储器用于存储计算机执行指令,处理器与存储器通过总线连接,当计算机运行时,处理器执行存储器存储的计算机执行指令,以使计算机执行如第一方面及第一方面的任意一种可能的实现方式所述的方法。In a fifth aspect, an embodiment of the present invention provides a computer device, including: a processor, a memory, a bus, and a communication interface; the memory is used to store computer execution instructions, the processor and the memory are connected through a bus, and when the computer is running, the processor The computer-implemented instructions stored in the memory are executed to cause the computer to perform the method as described in the first aspect and any one of the possible implementations of the first aspect.
第六方面,本发明实施例提供了一种计算机设备,包括:处理器、存储器、总线和通信接口;存储器用于存储计算机执行指令,处理器与存储器通过总线连接,当计算机运行时,处理器执行存储器存储的计算机执行指令,以使计算机执行如第二方面及第二方面的任意一种可能的实现方式所述的方法。In a sixth aspect, an embodiment of the present invention provides a computer device, including: a processor, a memory, a bus, and a communication interface; the memory is used to store computer execution instructions, the processor and the memory are connected through a bus, and when the computer is running, the processor The computer-implemented instructions stored in the memory are executed to cause the computer to perform the method as described in the second aspect and any one of the possible implementations of the second aspect.
第七方面,本发明实施例提供了一种网络系统,包括,如第三方面或第三方面任意一种可能的实现方式中的设备和如第四方面或第四方面任意一种可能的实现方式中的设备。In a seventh aspect, an embodiment of the present invention provides a network system, including, as the third aspect or a device in any possible implementation manner of the third aspect, and as in the fourth aspect or any possible implementation of the fourth aspect device in the way.
附图说明Description of drawings
为了更清楚地说明本发明的实施例或现有技术中的技术方案,下面将对描述背景技术和实施例时所使用的附图作简单的介绍。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the accompanying drawings used in describing the background technology and the embodiments will be briefly introduced below.
图1是本发明实施例提供一种灵活以太网的分层结构示意图;1 is a schematic diagram of a layered structure of a flexible Ethernet according to an embodiment of the present invention;
图2是本发明实施例提供的一种灵活以太网的数据帧格式;2 is a data frame format of a flexible Ethernet provided by an embodiment of the present invention;
图3是本发明实施例提供的一种灵活以太网业务处理的结构示意图;3 is a schematic structural diagram of a flexible Ethernet service processing provided by an embodiment of the present invention;
图4是本发明实施例提供的一种灵活以太网业务处理的结构示意图;4 is a schematic structural diagram of a flexible Ethernet service processing provided by an embodiment of the present invention;
图5是本发明实施例提供的一种S码块的字段格式示意图;5 is a schematic diagram of a field format of an S code block provided by an embodiment of the present invention;
图6是本发明实施例提供的一种MPLS定义的标签的格式示意图;6 is a schematic diagram of the format of a label defined by MPLS according to an embodiment of the present invention;
图7是本发明实施例提供的一种L码块的字段格式示意图;7 is a schematic diagram of a field format of an L code block provided by an embodiment of the present invention;
图8是本发明实施例提供的一种FlexE开销码块的结构示意;8 is a schematic structural diagram of a FlexE overhead code block provided by an embodiment of the present invention;
图9是本发明实施例提供的一种灵活以太网的网络架构图;9 is a network architecture diagram of a flexible Ethernet provided by an embodiment of the present invention;
图10是本发明实施例提供的一种边缘节点设备的结构示意图;10 is a schematic structural diagram of an edge node device according to an embodiment of the present invention;
图11是本发明实施例提供的一种OTN帧的开销结构示意图;11 is a schematic diagram of an overhead structure of an OTN frame provided by an embodiment of the present invention;
图12是本发明实施例提供的一种交换节点设备的结构示意图;FIG. 12 is a schematic structural diagram of a switching node device according to an embodiment of the present invention;
图13是本发明实施例提供的一种客户业务处理的方法的示范性流程图;FIG. 13 is an exemplary flowchart of a method for processing customer services provided by an embodiment of the present invention;
图14是本发明实施例提供的一种客户业务处理的方法的示范性流程图;FIG. 14 is an exemplary flowchart of a method for processing client services provided by an embodiment of the present invention;
图15是本发明实施例提供的一种客户业务处理的设备的逻辑结构示意图;15 is a schematic diagram of a logical structure of a device for processing client services provided by an embodiment of the present invention;
图16是本发明实施例提供的一种客户业务处理的设备的逻辑结构示意图;16 is a schematic diagram of a logical structure of a device for processing client services provided by an embodiment of the present invention;
图17是本发明实施例提供的一种计算机设备的结构示意图。FIG. 17 is a schematic structural diagram of a computer device according to an embodiment of the present invention.
具体实施方式Detailed ways
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments.
为了更好地理解本发明实施例的技术方案,首先对灵活以太网的分层结构作出简单的介绍。图1是本发明实施例提供的一种灵活以太网的分层结构示意图。如图1所示,灵活以太网可以包括FlexE客户层和FlexE服务层。FlexE客户层的主要用于支持客户业务的汇聚,例如包括媒质访问控制(Media Access Control,MAC)层、调和适配子层(Reconciliation Sublayer,RS)和FlexE SHIM层中的64B/66B编解码。FlexE客户层可以包括带宽为10G、25G、40G和N*50G等以太网接口。FlexE服务层主要用于支持FlexE客户业务的承载,例如包括FlexE SHIM层中除了64B/66B编解码之外的功能层次、物理编码子层(Physical Coding Sublayer,PCS)、前向纠错(Forward Error Correction,FEC)层、物理媒质连接子层(Physical Medium Attachment,PMA)、物理媒质相关子层(Physical MediumDependent,PMD)。FlexE服务层可以采用N路100GE的物理层装置(Physical Layer Device,PHY)实现,还可以采用N路400GE的PHY实现等。In order to better understand the technical solutions of the embodiments of the present invention, a brief introduction to the layered structure of the flexible Ethernet is made first. FIG. 1 is a schematic diagram of a layered structure of a flexible Ethernet provided by an embodiment of the present invention. As shown in Figure 1, flexible Ethernet can include a FlexE client layer and a FlexE service layer. The FlexE client layer is mainly used to support the aggregation of client services, such as the media access control (Media Access Control, MAC) layer, the reconciliation sublayer (Reconciliation Sublayer, RS) and the 64B/66B codec in the FlexE SHIM layer. The FlexE client layer can include Ethernet interfaces with bandwidths of 10G, 25G, 40G, and N*50G. The FlexE service layer is mainly used to support the bearer of FlexE customer services, such as the functional layers other than 64B/66B encoding and decoding in the FlexE SHIM layer, the Physical Coding Sublayer (PCS), and Forward Error Correction (Forward Error Correction). Correction, FEC) layer, Physical Medium Attachment (Physical Medium Attachment, PMA), Physical Medium Dependent (Physical Medium Dependent, PMD). The FlexE service layer can be implemented by using N channels of 100GE physical layer devices (Physical Layer Device, PHY), and can also be implemented by N channels of 400GE PHYs.
FlexE SHIM层引入了数据帧和时隙(Calendar)的概念,图2是本发明实施例提供的一种灵活以太网的数据帧格式。如图2所示,FlexE数据帧为8行、(1+1023x20)列的数据帧结构,由8x(1+1023x20)个66B码块构成。其中,FlexE数据帧中包括控制码块、数据码块,还可以包括空闲(IDLE)码块。控制码块可以包括开销码块(O码块)、开始码块(S码块)、标签码块(L码块)等。图2中,第一列的8个码块为O码块,用于承载FlexE数据帧的开销信息。其余的控制码块中,S码块和L码块可以用于承载转发标签。数据码块用于承载客户业务的数据信息。IDLE码块可以是在客户业务进行速率适配时插入的码块。The FlexE SHIM layer introduces the concept of a data frame and a time slot (Calendar). FIG. 2 is a data frame format of a flexible Ethernet provided by an embodiment of the present invention. As shown in Figure 2, the FlexE data frame is a data frame structure with 8 rows and (1+1023x20) columns, and is composed of 8x(1+1023x20) 66B code blocks. The FlexE data frame includes control code blocks, data code blocks, and may also include idle (IDLE) code blocks. The control code blocks may include overhead code blocks (O code blocks), start code blocks (S code blocks), label code blocks (L code blocks), and the like. In FIG. 2, the 8 code blocks in the first column are O code blocks, which are used to carry the overhead information of the FlexE data frame. Among the remaining control code blocks, the S code block and the L code block can be used to carry forwarding labels. The data code block is used to carry the data information of the customer service. The IDLE code block may be a code block inserted during rate adaptation of client services.
图3是本发明实施例提供的一种灵活以太网业务处理的结构示意图。如图3所示,该业务处理过程可以为业务复用的过程,可以在灵活以太网的发送端设备实现。业务复用的具体过程可以参考如下描述:网络设备接收到多路客户客户业务,例如客户业务a、客户业务b……客户业务z之后,对接收到的多路客户业务进行64B/66B编码,形成66B码块流,通过插入或删除空闲(IDLE)码块对客户业务的码块流进行速率适配。将客户业务的码块流发送至FlexE服务层时隙(Calendar)中进行交换。通过FlexE服务层时隙将多路客户业务的码块流分发到N路PHY的子时分通道(sub-Calendar)中,并且在每一路PHY的sub-Calendar中按照一定的间隔周期(例如20x66B)插入FlexE开销,用于标识FlexE的帧结构或者标识每一路PHY的顺序等。对每一路PHY的sub-Calendar进行扰码,然后将每一路PHY的sub-Calendar分成的多路PCS通道,插入对齐码块(Alignment Marker,AM)并分发到PMA中。FIG. 3 is a schematic structural diagram of a flexible Ethernet service processing provided by an embodiment of the present invention. As shown in FIG. 3 , the service processing process may be a process of service multiplexing, which may be implemented in the sending end device of the flexible Ethernet. The specific process of service multiplexing can refer to the following description: after the network device receives multiple customer customer services, such as customer service a, customer service b... customer service z, it performs 64B/66B encoding on the received multi-channel customer service. A 66B code block stream is formed, and rate adaptation is performed on the code block stream of the client service by inserting or deleting idle (IDLE) code blocks. The code block stream of the client service is sent to the FlexE service layer time slot (Calendar) for exchange. Distribute the code block streams of multiple client services to the sub-time division channels (sub-Calendar) of N channels of PHY through the FlexE service layer time slot, and in the sub-Calendar of each channel of PHY according to a certain interval period (for example, 20x66B) The FlexE overhead is inserted to identify the frame structure of FlexE or the sequence of each PHY. The sub-Calendar of each PHY is scrambled, and then the sub-Calendar of each PHY is divided into multiple PCS channels, inserted into an Alignment Marker (AM) and distributed to the PMA.
图4是本发明实施例提供的一种灵活以太网业务处理的结构示意图。如图4所示,该业务处理过程可以为业务解复用的过程,可以在灵活以太网的接收端设备实现。灵活以太网的接收端设备和发送端设备可以为不同的网络设备,还可以为同一个网络设备。业务解复用的过程和图4所示的业务复用过程处理流程相反,原理类似,此处不再赘述。FIG. 4 is a schematic structural diagram of a flexible Ethernet service processing provided by an embodiment of the present invention. As shown in FIG. 4 , the service processing process may be a process of service demultiplexing, which may be implemented in a receiving end device of the flexible Ethernet. The receiving end device and the sending end device of the flexible Ethernet may be different network devices, or may be the same network device. The process of service demultiplexing is opposite to the processing flow of the service multiplexing process shown in FIG. 4 , and the principle is similar, which will not be repeated here.
本发明实施例中,在图3或图4所示的灵活以太网业务处理过程中,通过在客户业务的码块流中控制码块中添加转发标签,根据添加的转发标签进行业务交换,可以实现在灵活以太网的同一个交换平面中进行多种业务交换。In the embodiment of the present invention, in the flexible Ethernet service processing process shown in FIG. 3 or FIG. 4 , by adding a forwarding label to the control code block in the code block flow of the customer service, and performing service exchange according to the added forwarding label, you can Realize the exchange of multiple services in the same switching plane of the flexible Ethernet.
可以在客户业务的控制码块,例如S码块中添加第一转发标签,用于指示客户业务的第一转发目的地址。其中,S码块的字段格式如图5所示,S码块中包括同步头(10)、块类型字段(0x78)和数据字段(D1~D7)。可以通过S码块中的数据字段(D1~D7)承载第一转发标签。A first forwarding label may be added to the control code block of the customer service, for example, the S code block, to indicate the first forwarding destination address of the customer service. The field format of the S code block is shown in FIG. 5 , and the S code block includes a synchronization header (10), a block type field (0x78), and a data field (D1-D7). The first forwarding label may be borne by the data fields (D1-D7) in the S code block.
第一转发标签可以采用多协议标签交换(Multiprotocol Label Switching,MPLS)中定义的标签格式,如图6所示。MPLS定义的标签总长度为32比特,可以分为以下几个字段:The first forwarding label may adopt a label format defined in Multiprotocol Label Switching (Multiprotocol Label Switching, MPLS), as shown in FIG. 6 . The total length of the label defined by MPLS is 32 bits, which can be divided into the following fields:
Label:长度为20比特,用于标识业务的转发关系。业务的转发关系可以包括业务的转发目的地址,还可以包括业务的转发源地址。例如,业务的转发关系还以包括报文在某个设备上的出接口,还可以包括入接口。标签可以包括出标签和入标签,分别用于标识业务在某个设备的出接口和入接口。Label: 20 bits in length, used to identify the forwarding relationship of the service. The forwarding relationship of the service may include the forwarding destination address of the service, and may also include the forwarding source address of the service. For example, the forwarding relationship of the service may also include the outgoing interface of the packet on a certain device, and may also include the incoming interface. Labels can include outgoing labels and incoming labels, which are used to identify the outgoing interface and incoming interface of a service on a device, respectively.
Exp:长度为3比特,用于标识业务的服务质量(Quality of Service,QoS)。例如,可以标识8种优先级,包括语音、视频、数据等不同业务对应的服务类型。Exp: has a length of 3 bits and is used to identify the quality of service (Quality of Service, QoS) of the service. For example, 8 priorities can be identified, including service types corresponding to different services such as voice, video, and data.
TTL:长度为8个比特,用于防止业务传输时形成环路。TTL: 8 bits in length, used to prevent loops during service transmission.
一个标签的总长度为32比特,因此,一个S码块最多可以承载一层标签,例如,第一转发标签。为了支持多层标签嵌套,可以通过删除客户业务的码块流中的空闲(IDLE)码块,增加控制码块来实现。例如,增加的控制码块称为L码块,也可以是66b码块。L码块的字段格式如图7所示。L码块和S码块的格式类似,也是通过D1~D7承载标签,区别在于块类型字段为0x79。L码块可以承载转发标签,例如第二转发标签。第一转发标签和第二转发标签可以是针对不同类型的网络设备的标签,例如,第一转发标签针对的是接入网的网络设备的,第二转发标签是针对传送网的网络设备的。通过删除一个IDLE码块,增加的一个L码块加上S码块可以支持3[(7*8*2)/32=3.5]层标签嵌套,通过删除两个IDLE码块,增加的两个L码块加上S码块可以支持5[(7*8*3)/32=5.25]层标签嵌套。The total length of a label is 32 bits, so one S-code block can carry at most one layer of labels, for example, the first forwarding label. In order to support multi-layer label nesting, it can be realized by deleting the idle (IDLE) code block in the code block stream of the customer service and adding a control code block. For example, the added control code block is called an L code block, and can also be a 66b code block. The field format of the L code block is shown in Figure 7. The format of the L code block is similar to that of the S code block, and the tags are also carried through D1 to D7. The difference is that the block type field is 0x79. The L code block may carry a forwarding label, such as a second forwarding label. The first forwarding label and the second forwarding label may be labels for different types of network devices, for example, the first forwarding label is directed to the network device of the access network, and the second forwarding label is directed to the network device of the transport network. By deleting an IDLE code block, an added L code block plus an S code block can support 3[(7*8*2)/32=3.5] layers of label nesting. By deleting two IDLE code blocks, the added two The number of L code blocks plus the S code block can support 5[(7*8*3)/32=5.25] levels of label nesting.
可选地,可以通过FlexE开销承载传输路由、标签分发等信令。网络设备可以包括控制平面和数据平面,控制平面用于对数据平面进行业务控制和配置,数据平面在控制平面的控制指导下传送业务数据。其中,传输路由、标签分发信令是用于在网络设备的控制平面上配置业务的转发关系,例如,业务在某个网络设备的入接口和出接口。当网络设备的数据平面接收到客户业务时,可以根据客户业务中携带的转发标签获取该客户业务在控制平面配置的转发关系进行转发。FlexE开销可以是客户业务的码块流进入每一路FlexE物理接口(PHY)时添加的,FlexE开销可以通过O码块表示。FlexE开销码块的结构示意图如图8所示,可以通过FlexE开销中的管理通道承载传输路由、标签分发等信令。Optionally, signaling such as transmission routing and label distribution can be carried through FlexE overhead. The network device may include a control plane and a data plane. The control plane is used to perform service control and configuration on the data plane, and the data plane transmits service data under the control and guidance of the control plane. The transmission route and label distribution signaling are used to configure the forwarding relationship of the service on the control plane of the network device, for example, the service is on the inbound interface and the outbound interface of a certain network device. When the data plane of the network device receives the customer service, it can obtain the forwarding relationship configured on the control plane for the customer service according to the forwarding label carried in the customer service and forward it. The FlexE overhead can be added when the code block flow of the customer service enters each FlexE physical interface (PHY), and the FlexE overhead can be represented by an O code block. The schematic diagram of the structure of the FlexE overhead code block is shown in Figure 8, and signaling such as transmission routing and label distribution can be carried through the management channel in the FlexE overhead.
图9是本发明实施例提供的一种灵活以太网的网络架构图。如图9所示,以太网中可以包括边缘节点设备和交换节点设备。一般地,边缘节点设备用于和客户设备相连,接收来自客户设备的客户业务。交换节点设备和边缘节点设备之间、以及不同的交换节点设备之间通过接口相连,例如P1、P2、P3、Pn等,用于传递客户业务。可以将边缘节点设备与客户设备相连的一侧称为客户侧,将边缘节点设备与交换节点设备相连的一侧或者两个交换节点设备相连的一侧称为线路侧。FIG. 9 is a network architecture diagram of a flexible Ethernet provided by an embodiment of the present invention. As shown in FIG. 9 , the Ethernet may include edge node devices and switching node devices. Generally, edge node devices are used to connect with client devices and receive client services from client devices. The switching node devices and edge node devices, as well as different switching node devices, are connected through interfaces, such as P1, P2, P3, Pn, etc., for transferring customer services. The side connecting the edge node device to the client device can be called the client side, and the side connecting the edge node device and the switching node device or the side connecting the two switching node devices is called the line side.
图10是本发明实施例提供的一种边缘节点设备的结构示意图。如图10所示,该设备可以包括客户信号处理模块101、标签封装模块102、FlexE SHIM模块103、标签分配模块104、开销处理模块105、路由表生成/更新模块106以及至少一个PHY模块107。其中,这些模块可以是集成到一个芯片上的电路模块,还可以是独立的电路模块。边缘节点设备在发送方向上实现的功能包括:FIG. 10 is a schematic structural diagram of an edge node device according to an embodiment of the present invention. As shown in FIG. 10 , the device may include a client
客户信号处理模块101,用于从客户设备接收客户业务,确定客户业务的业务类型。边缘节点设备接收到的客户业务的业务类型可以包括:数据业务和TDM业务。其中,数据业务可以为分组业务、以太网数据业务、MPLS业务、因特网协议(Internet Protocol,IP)业务等。TDM业务可以为同步数字体系(Synchronous Digital Hierarchy,SDH)业务、光传送网(Optical Transport Network,OTN)业务等。The client
标签封装模块102,用于对客户业务进行64B/66B编码,形成66B码块流。从标签分配模块104中获取第一转发标签,并在客户业务形成的66B码块流中的控制码块添加第一转发标签。例如,该控制码块可以为S码块。S码块和第一转发标签的结构示意图可分别参见图5和图6,如何在S码块中添加第一转发标签也可以参见上述实施例,此处不再赘述。The
如果接收到的客户业务为数据业务,例如以太网数据业务,客户业务自身携带S码块。如果接收都的客户业务为TDM业务,例如OTN业务,客户业务自身不携带S码块。针对TDM业务,以OTN业务为例,对OTN业务如何增加S码块进行说明。If the received client service is a data service, such as an Ethernet data service, the client service itself carries the S code block. If the received client service is a TDM service, such as an OTN service, the client service itself does not carry the S code block. For the TDM service, the OTN service is taken as an example to describe how to add an S code block to the OTN service.
OTN帧的开销结构如图11所示,OTN帧的起始6个字节帧对齐信号(FrameAlignment Signal,FAS)为帧定位开销,固定图案为0xf6f6f6282828。当OTN业务映射到FlexE服务层时,对OTN业务进行流切片划分比特块,并对IDLE码块进行速率调整和适配。在OTN业务中增加S码块的实施方式可以包括:The overhead structure of the OTN frame is shown in FIG. 11 , the frame alignment signal (Frame Alignment Signal, FAS) of the first 6 bytes of the OTN frame is the frame alignment overhead, and the fixed pattern is 0xf6f6f6282828. When the OTN service is mapped to the FlexE service layer, the stream slice is divided into bit blocks for the OTN service, and the rate adjustment and adaptation are performed on the IDLE code block. The implementation manner of adding the S code block in the OTN service may include:
方式一:在对OTN业务进行流切片时,将OTN帧头的6个帧定位开销(FAS)转化为S码块。例如,在OTN帧头指示到来时,删除OTN帧头的6个字节的FAS,插入S码块,后续数据流继续切片。Manner 1: When stream slicing is performed on the OTN service, the six frame positioning overheads (FAS) of the OTN frame header are converted into S code blocks. For example, when the OTN frame header indicates the arrival, delete the 6-byte FAS of the OTN frame header, insert the S code block, and continue to slice the subsequent data stream.
方式二:在对OTN业务进行流切片时,可以在OTN业务中增加一个S码块。例如,在OTN帧头指示到来时,插入一个S码块,同时,还可以删除一个IDLE码块以适配增加S码块后的信号速率。然后从OTN帧的第一个字节开始对数据流进行切片。Mode 2: When stream slicing is performed on the OTN service, an S code block may be added to the OTN service. For example, when the OTN frame header indicates the arrival, an S code block is inserted, and at the same time, an IDLE code block can also be deleted to adapt to the signal rate after the S code block is added. The data stream is then sliced from the first byte of the OTN frame.
如果客户业务需要多层标签嵌套,也可以通过删除客户业务中的IDLE码块,增加L码块来添加第二转发标签。其中,L码块的结构示意图可以参见图7,如何在L码块中添加第二转发标签也可以参见上述实施例,此处不再赘述。If the customer service requires multiple layers of label nesting, the second forwarding label can also be added by deleting the IDLE code block in the customer service and adding the L code block. The schematic diagram of the structure of the L code block may refer to FIG. 7 , and how to add the second forwarding label to the L code block may also refer to the foregoing embodiment, which will not be repeated here.
在客户业务中添加第一转发标签和/或第二转发标签之前,可以对客户业务进行64B/66B编码,将客户业务转化为66B码块流,然后对66B码块流进行速率适配,例如,可以在66B码块流中插入或删除IDLE码块。可选地,对66B码块流进行速率适配还可以在添加第一转发标签和/或第二转发标签之后完成,或者还可以在对66B码块流进行速率适配的同时添加第一转发标签和/或第二转发标签,本发明不作限定。Before adding the first forwarding label and/or the second forwarding label to the customer service, 64B/66B encoding can be performed on the customer service, the customer service can be converted into a 66B code block stream, and then rate adaptation is performed on the 66B code block stream, for example , IDLE code blocks can be inserted or deleted in the 66B code block stream. Optionally, the rate adaptation for the 66B code block stream may be completed after adding the first forwarding label and/or the second forwarding label, or the first forwarding may be added while the rate adaptation is performed on the 66B code block stream. The label and/or the second forwarding label are not limited in the present invention.
标签分配模块104,用于对客户业务进行转发标签分配。转发标签包括前文所说的第一转发标签、第二转发标签等,不同层次的转发标签的分配原则可以是相同的。这里以第一转发标签为例进行说明。对于数据业务,例如,以太网数据业务,标签分配模块104可以根据客户业务的IP头、MAC地址、流标识中的任意一项或多项分配第一转发标签。例如,可以根据转发等价类(Forwarding Equivalence Class,FEC)的原则分配第一转发标签。转发等价类指的是以相同的方式转发一组业务,例如,通过同一个通道或者具有相同的转发目的地址等。如果后续的客户业务与上一个客户业务同属于一个流,例如具有共同的IP或者共同的五元组信息,则可以使用相同的第一转发标签。可选地,如果客户业务封装模块102判断出当前的客户业务可以使用与上一个客户业务相同的第一转发标签,还可以不向标签分配模块104获取转发标签,直接添加上一个客户业务的第一转发标签。标签分配模块104,还可以根据客户业务的带宽和网络的带宽粒度为客户业务分配占用的时隙数量。例如灵活以太网中一个FlexE服务层的时隙粒度为5G,对于一个10G的客户业务,则可以针对该10G的客户业务分配2个时隙。The
对于TDM业务,例如OTN业务,可以根据预先配置的信息,分配转发标签。预先配置的信息可以包括转发标签信息,时隙信息等。在业务开通时,可以通过网管对TDM业务预先配置转发标签信息、时隙信息等。例如,为10G的TDM业务分配2个时隙,并且使用label 1作为第一转发标签。For TDM services, such as OTN services, forwarding labels can be allocated according to pre-configured information. The preconfigured information may include forwarding label information, time slot information, and the like. When the service is activated, the forwarding label information, time slot information, etc. can be pre-configured for the TDM service through the network management. For example, 2 time slots are allocated for 10G TDM service, and
FlexE SHIM模块103,用于将客户业务映射到FlexE服务层时隙(Calendar)中。可以根据转发标签信息将客户业务映射到对应的时隙中,还可以根据时隙信息将客户业务映射到对应的时隙中。可选地,转发标签和客户业务占用的N个时隙之间具有对应关系。例如,一个10G的客户业务占用时隙1和时隙2,该客户业务的第一转发标签为label 1,则label 1和时隙1、时隙2之间具有对应关系。FlexE SHIM模块103,可以根据客户业务携带的第一转发标签label 1,将客户业务映射到时隙1、时隙2中,也可以根据客户业务的时隙信息(占用时隙1和时隙2),将客户业务映射到时隙1、时隙2中。其中,第一转发标签可以指示采用哪一个或哪几个PHY模块来发送客户业务。可以将承载客户业务的FlexE服务层时隙分发到一个或多个PHY模块中,同时插入FlexE开销。The
PHY模块107,用于将客户业务发送到线路侧的物理传输链路中。边缘节点设备中具有至少一个物理接口,客户业务通过物理接口发送到线路侧的物理传输链路,例如光纤中,客户业务通过物理传输链路可以被目标设备接收或转发。一个物理接口可以包含至少一个PHY模块,每个PHY模块对应各自的时隙。例如,一个100G的PHY模块对应20个5G粒度的FlexE时隙。将客户业务映射到N个时隙之后,客户业务根据时隙和PHY模块的对应关系分发到对应的PHY模块中。例如,10G的客户业务占用的时隙1和时隙2均对应于PHY1,则将客户业务的时隙1和时隙2分发至PHY1中。The
开销处理模块105,用于插入FlexE开销。在将客户业务的N个时隙分发至一个或多个PHY模块107的过程中,还可以在每一个PHY模块中插入FlexE开销。其中,FlexE开销用于监控链路状态,链路状态的生成和更新可以指导路由表生成/更新模块106生成和/或更新路由表。其中,路由表中包括网络的拓扑信息、业务的转发关系等,可以为客户业务分配转发标签提供依据。FlexE开销中还可以携带传输路由、标签分发等信令,具体可以参见图8所示的实施例。The
边缘节点设备在接收方向上的实现的功能包括:The functions implemented by the edge node device in the receiving direction include:
PHY模块107,用于从线路侧接收客户业务。可以通过一个或多个PHY模块从物理传输链路中接收客户业务。例如,从PHY1中接收到一个10G的客户业务。The
FlexE SHIM模块103,用于从一个或多个PHY模块107中接收客户业务。此时,客户业务可以为66B码块流。在66B码块流中提取FlexE开销,并进行数据对齐。重新恢复出FlexE服务层时隙(Calendar),并依据时隙信息恢复出各路客户业务。例如,从PHY1中恢复出时隙1和时隙2对应的10G客户业务。可选地,FlexE SHIM模块103还可以将FlexE开销信息发送给开销处理模块105,以便于开销处理模块105根据FlexE开销信息进行链路状态监控。The
标签封装模块102,对客户信号的第一转发标签信息进行恢复处理。例如,对于数据业务,可以将S码块中的第一转发标签信息删除,恢复为添加第一转发标签之前的原始S码块。然后通过增加或删除IDLE码块等方式进行速率适配,对66B码块流进行解码之后发送到客户信号处理模块101。对于TDM业务,如果S码块是通过删除IDLE码块添加的,可以将S码块丢弃;如果S码块是从帧定位开销转换形成的,可以将S码块恢复为帧头定位开销。然后将66B码块流的同步头去掉后发送到客户信号处理模块101。The
客户信号处理模块101,用于接收经过64B/66B解码后的码块流,并恢复出原始的客户业务,例如,TDM业务、数据业务等。The client
本发明实施例中,边缘节点设备在客户业务中添加第一转发标签,并根据第一转发标签进行业务交换,将客户业务发送到目标物理通道中,实现了在灵活以太网的同一个交换平面中进行多种业务的交换。In the embodiment of the present invention, the edge node device adds the first forwarding label to the customer service, performs service switching according to the first forwarding label, and sends the customer service to the target physical channel, thus realizing the same switching plane in the flexible Ethernet. exchange of various services.
图12是本发明实施例提供的一种交换节点设备的结构示意图。如图12所示,如图10所示,该设备可以包括PHY模块201/207、FlexE SHIM模块202/206、标签封装模块203、帧头对齐模块204、交换模块205、标签分配模块208、开销处理模块209以及路由表生成/更新模块210。其中,这些模块可以是集成到一个芯片上的电路模块,还可以是独立的电路模块。交换节点设备在发送方向和在接收方向信号实现的功能一致,下面以发送方向实现的功能为例进行说明:FIG. 12 is a schematic structural diagram of a switching node device according to an embodiment of the present invention. As shown in FIG. 12, as shown in FIG. 10, the device may include a
PHY模块201,用于从线路侧接收客户业务。例如,通过一个或多个PHY模块从边缘节点设备或者其他的交换节点设备接收客户业务。The
FlexE SHIM模块202,用于从一个或多个PHY模块201接收客户业务。此时,客户业务可以为66B码块流。在66B码块流中提取FlexE开销,并进行数据对齐。重新恢复出FlexE服务层时隙(Calendar),并依据时隙信息恢复出各路客户业务。例如,从PHY1中恢复出时隙1和时隙2对应的10G客户业务。可选地,FlexE SHIM模块202还可以将FlexE开销信息发送给开销处理模块209,以便于开销处理模块209根据FlexE开销信息进行链路状态监控。The
标签封装模块203,用于根据客户业务,例如S码块中携带的第一转发标签(如入标签)向标签分配模块208申请新的第一转发标签(如出标签),还可以申请标签行为指示。标签分配模块208中可以保存转发标签信息表,如表1所示,该转发标签信息表可以包括节点设备标识NE2、入接口P2、入标签label 1、出接口P3、出标签label 2等信息,还可以包括标签行为指示,例如标签嵌套。标签分配模块208的功能和边缘节点设备中标签分配模块104的功能类似,此处不再赘述。The
表1Table 1
其中,入接口和/或入标签可以指示客户业务在节点设备NE2上的哪个或哪些PHY模块接收的,出接口和出标签可以指示客户业务在节点设备NE2上的哪个或哪些PHY模块发送的。客户业务的携带的第一转发标签可以为入标签,新的第一转发标签为出标签。入标签和出标签在转发标签信息表中建立了对应关系,因此,可以根据入标签获取到出标签,还可以获取到出接口。标签行为指示可以包括标签嵌套、标签弹出、标签交换等。需要标签嵌套时,可以删除一个IDLE码块,并且将当前携带第一转发标签的S码块转换为L码块,同时,在L码块前增加携带新的第一转发标签的S码块。如果需要弹出外层标签,则将携带外层标签的S码块丢弃,同时将S码块后面的一个L码块转换为S码块。在需要标签弹出时,如果只有一层标签,则将该层标签所在的S码块恢复为原来的S码块,即将标签信息恢复为原来的数据字段。对于TDM业务,最后一层标签一般不能提前弹出。The inbound interface and/or inbound label may indicate which PHY module or modules on the node device NE2 receive the client service, and the outbound interface and outbound label may indicate which PHY module or modules on the node device NE2 send the client traffic. The first forwarding label carried by the customer service may be an incoming label, and the new first forwarding label is an outgoing label. A corresponding relationship is established between the incoming label and the outgoing label in the forwarding label information table. Therefore, the outgoing label and the outgoing interface can be obtained according to the incoming label. Tab behavior indications may include tab nesting, tab popping, tab swapping, and the like. When label nesting is required, an IDLE code block can be deleted, and the S code block that currently carries the first forwarding label is converted into an L code block. At the same time, an S code block carrying a new first forwarding label is added before the L code block. . If the outer label needs to be ejected, the S code block carrying the outer label is discarded, and an L code block behind the S code block is converted into an S code block. When the label needs to be popped up, if there is only one layer of labels, the S code block where the layer label is located is restored to the original S code block, that is, the label information is restored to the original data field. For TDM services, the last layer of labels generally cannot be popped up in advance.
帧头对齐模块204,用于将各路客户业务的66B码块流进行对齐,并将对齐后的码块流发送到交换模块205。The frame
交换模块205,用于根据客户业务携带的第一转发标签进行数据交换。这里的第一转发标签可以是标签封装模块203向标签分配模块208申请新的第一转发标签,即出标签。可选地,还可以根据出接口进行数据交换。交换模块205相当于确定了客户业务从哪个/哪些PHY模块207发送出去。The
FlexE SHIM模块206,用于将客户业务映射到FlexE服务层的时隙(Calendar)中。可以根据转发标签信息将客户业务映射到对应的时隙中,还可以根据时隙信息将客户业务映射到对应的时隙中。可选地,转发标签和客户业务占用的N个时隙之间具有对应关系。例如,一个10G的客户业务占用时隙1和时隙2,该客户业务的第一转发标签为label 2,则label 2和时隙1、时隙2之间具有对应关系。FlexE SHIM模块206,可以根据客户业务携带的第一转发标签label 2,将客户业务映射到时隙1、时隙2中,也可以根据客户业务的时隙信息(占用时隙1和时隙2),将客户业务映射到时隙1、时隙2中。其中,第一转发标签可以指示采用哪一个或哪几个PHY模块来发送客户业务的。可以将承载客户业务的FlexE服务层时隙分发到一个或多个PHY模块中,同时插入FlexE开销。可选地,还可以增加一定缓存,用于数据业务的QoS处理。The
PHY模块207,用于将客户业务发送到另一侧线路侧中。PHY模块207和边缘节点设备中PHY107的功能类似,不再赘述。The
开销处理模块209、路由表生成/更新模块210的功能和边缘节点设备中的开销处理模块105、表生成/更新模块106的功能类似,此处不再赘述。The functions of the
本发明实施例中,交换节点设备接收到的客户业务中携带第一转发标签,并根据第一转发标签进行业务交换,实现了在灵活以太网的同一个交换平面中进行多种业务的交换。In the embodiment of the present invention, the customer service received by the switching node device carries the first forwarding label, and performs service exchange according to the first forwarding label, thereby realizing the exchange of multiple services in the same switching plane of the flexible Ethernet.
图13是本发明实施例提供的一种客户业务处理的方法的示范性流程图。该方法可以由以太网设备、OTN设备、路由器、交换机等执行,包括如下步骤:FIG. 13 is an exemplary flowchart of a method for processing customer services provided by an embodiment of the present invention. The method can be performed by Ethernet devices, OTN devices, routers, switches, etc., and includes the following steps:
S1301:接收客户业务,根据所述客户业务中携带的第一转发标签将所述客户业务映射到M个时隙中,所述第一转发标签指示第一转发目的地址。S1301: Receive a client service, and map the client service into M time slots according to a first forwarding label carried in the client service, where the first forwarding label indicates a first forwarding destination address.
可选地,所述第一转发标签和所述M个时隙具有对应关系,根据所述第一转发标签将所述客户业务映射到所述M个时隙中。Optionally, the first forwarding label has a corresponding relationship with the M timeslots, and the client service is mapped into the M timeslots according to the first forwarding label.
可选地,对所述客户业务进行编码,所述客户业务形成码块流;在所述客户业务的S码块中添加所述第一转发标签,所述S码块为所述码块流中的一种码块类型。Optionally, the client service is encoded, and the client service forms a code block stream; the first forwarding label is added to the S code block of the client service, and the S code block is the code block stream A code block type in .
可选地,在所述客户业务的L码块中添加所述第一转发标签,所述L码块通过删除所述客户业务的空闲码块获得,所述空闲码块所述码块流中的一种码块类型。Optionally, the first forwarding label is added to the L code block of the client service, the L code block is obtained by deleting the idle code block of the client service, and the idle code block is in the code block stream. A code block type of .
可选地,在所述客户业务的帧头定位开销中添加所述第一转发标签。Optionally, the first forwarding label is added to the frame header positioning overhead of the client service.
可选地,在所述客户业务中添加第二转发标签,所述第二转发标签指示所述客户业务的第二转发目的地址。Optionally, a second forwarding label is added to the customer service, where the second forwarding label indicates a second forwarding destination address of the customer service.
S1302:通过所述M个时隙将所述客户业务发送至目标物理通道中,所述目标物理通道与所述第一转发目的地址具有对应关系;其中,M为大于或等于1的正整数。S1302: Send the client service to a target physical channel through the M time slots, where the target physical channel has a corresponding relationship with the first forwarding destination address; where M is a positive integer greater than or equal to 1.
可选地,所述M个时隙和所述目标物理通道具有对应关系。Optionally, the M time slots and the target physical channel have a corresponding relationship.
其中,第一转发目的地址可以为该客户业务转发的下一跳节点设备的目的MAC地址,也可以是转发该客户业务的节点设备的出端口标识或者PHY模块的标识等。The first forwarding destination address may be the destination MAC address of the next-hop node device forwarding the client service, or may be the egress port identifier or the identifier of the PHY module of the node device forwarding the client service.
本发明实施例中,通过客户业务中携带的第一转发标签将客户业务映射到M个时隙中,并且通过M个时隙将客户业务发送至目标物理通道中,实现了在灵活以太网的同一个交换平面中进行多种业务的交换。In the embodiment of the present invention, the customer service is mapped into M time slots through the first forwarding label carried in the customer service, and the customer service is sent to the target physical channel through the M time slots, thereby realizing the flexible Ethernet network. Multiple services are exchanged in the same switching plane.
图14是本发明实施例提供的一种客户业务处理的方法的示范性流程图。该方法可以由以太网设备、OTN设备、路由器、交换机等执行,包括如下步骤:FIG. 14 is an exemplary flowchart of a method for processing customer services provided by an embodiment of the present invention. The method can be performed by Ethernet devices, OTN devices, routers, switches, etc., and includes the following steps:
S1401:从目标物理通道中获取客户业务的M个时隙,从所述M个时隙中获取所述客户业务。S1401: Acquire M timeslots of client services from the target physical channel, and acquire the client services from the M timeslots.
S1402:获取所述客户业务中的第一转发标签,删除所述第一转发标签和/或添加第三转发标签;其中,所述第一转发标签指示第一转发目的地址,所述目标物理通道与所述第一转发目的地址具有对应关系;M为大于等于1的正整数。S1402: Acquire the first forwarding label in the customer service, delete the first forwarding label and/or add a third forwarding label; wherein, the first forwarding label indicates a first forwarding destination address, the target physical channel There is a corresponding relationship with the first forwarding destination address; M is a positive integer greater than or equal to 1.
可选地,所述第一转发标签为入标签,所述第三转发标签为出标签;根据第一转发标签获取第三转发标签,其中,所述第一转发标签和所述第三转发标签具有对应关系。Optionally, the first forwarding label is an incoming label, and the third forwarding label is an outgoing label; a third forwarding label is obtained according to the first forwarding label, wherein the first forwarding label and the third forwarding label are have a corresponding relationship.
可选地,删除所述客户业务的空闲码块,将携带所述第一转发标签的S码块转换为L码块,并且增加携带所述第三转发标签的S码块;所述空闲码块、S码块、L码块分别为所述客户业务经过编码形成的码块流中的三种码块类型。Optionally, delete the idle code block of the client service, convert the S code block carrying the first forwarding label into an L code block, and add an S code block carrying the third forwarding label; the idle code The block, the S code block, and the L code block are respectively three types of code blocks in the code block stream formed by the encoding of the client service.
可选地,删除所述第一转发标签,将携带所述第一转发标签的码块恢复为正常码块;其中,所述正常码块包括S码块、L码块和帧头定位开销中的任意一种,所述S码块、L码块分别为所述客户业务经过编码形成的码块流中的两种码块类型。Optionally, delete the first forwarding label, and restore the code block carrying the first forwarding label to a normal code block; wherein, the normal code block includes the S code block, the L code block, and the frame header positioning overhead. The S code block and the L code block are respectively two code block types in the code block stream formed by the encoding of the client service.
其中,第一转发目的地址可以为接收客户业务的节点设备的目的MAC地址,也可以是接收该客户业务的节点设备的入端口标识或者PHY模块的标识等。第三转发标签可以指示该客户业务转发的下一跳节点设备的目的MAC地址,也可以是转发该客户业务的节点设备的出端口标识或者PHY模块的标识等。The first forwarding destination address may be the destination MAC address of the node device receiving the client service, or may be the ingress port identifier or the identifier of the PHY module of the node device receiving the client service, or the like. The third forwarding label may indicate the destination MAC address of the next-hop node device forwarding the client service, or may be the egress port identifier or the identifier of the PHY module of the node device forwarding the client service.
本发明实施例中,从客户业务中获取第一转发标签,删除第一转发标签和/或添加第三转发标签,实现了在灵活以太网的同一个交换平面中进行多种业务的交换。In the embodiment of the present invention, the first forwarding label is obtained from the customer service, the first forwarding label is deleted and/or the third forwarding label is added, so as to realize the exchange of multiple services in the same switching plane of the flexible Ethernet.
图15是本发明实施例提供的一种客户业务处理的设备的逻辑结构示意图。该设备可以为以太网设备、OTN设备、路由器、交换机等执行,包括:接收模块1501、映射模块1502和发送模块1503。FIG. 15 is a schematic diagram of a logical structure of a device for processing client services according to an embodiment of the present invention. The device can be implemented as an Ethernet device, an OTN device, a router, a switch, etc., and includes: a receiving
接收模块1501,用于接收客户业务。The
映射模块1502,用于根据所述客户业务中携带的第一转发标签将所述客户业务映射到M个时隙中,所述第一转发标签指示第一转发目的地址。The
可选地,所述映射模块1502,用于:所述第一转发标签和所述M个时隙具有对应关系,根据所述第一转发标签将所述客户业务映射到所述M个时隙中。Optionally, the
发送模块1503,用于通过所述M个时隙将所述客户业务发送至目标物理通道中,所述目标物理通道与所述第一转发目的地址具有对应关系;其中,M为大于或等于1的正整数。A sending
可选地,所述M个时隙和所述目标物理通道具有对应关系。Optionally, the M time slots and the target physical channel have a corresponding relationship.
可选地,所述设备还包括:编码模块,用于对所述客户业务进行编码,所述客户业务形成码块流;第一添加模块,用于在所述客户业务的S码块中添加所述第一转发标签,所述S码块为所述码块流中的一种码块类型。Optionally, the device further includes: an encoding module for encoding the customer service, and the customer service forms a code block stream; a first adding module for adding in the S code block of the customer service For the first forwarding tag, the S code block is a code block type in the code block stream.
可选地,所述第一添加模块,还用于:在所述客户业务的L码块中添加所述第一转发标签,所述L码块通过删除所述客户业务的空闲码块获得,所述空闲码块所述码块流中的一种码块类型。Optionally, the first adding module is further configured to: add the first forwarding label to the L code block of the customer service, where the L code block is obtained by deleting the idle code block of the customer service, The idle code block is a code block type in the code block stream.
可选地,所述设备包括第二添加模块,用于:在所述客户业务的帧头定位开销中添加所述第一转发标签。Optionally, the device includes a second adding module, configured to: add the first forwarding label to the frame header positioning overhead of the customer service.
可选地,所述设备还包括第三添加模块,用于:在所述客户业务中添加第二转发标签,所述第二转发标签指示所述客户业务的第二转发目的地址。Optionally, the device further includes a third adding module, configured to: add a second forwarding label to the customer service, where the second forwarding label indicates a second forwarding destination address of the customer service.
本发明实施例中,通过客户业务中携带的第一转发标签将客户业务映射到M个时隙中,并且通过M个时隙将客户业务发送至目标物理通道中,实现了在灵活以太网的同一个交换平面中进行多种业务的交换。In the embodiment of the present invention, the customer service is mapped into M time slots through the first forwarding label carried in the customer service, and the customer service is sent to the target physical channel through the M time slots, thereby realizing the flexible Ethernet network. Multiple services are exchanged in the same switching plane.
图16是本发明实施例提供的一种客户业务处理的设备的逻辑结构示意图。该设备可以为以太网设备、OTN设备、路由器、交换机等执行,包括:客户业务获取模块1601、转发标签获取模块1602和转发标签增删模块1603。FIG. 16 is a schematic diagram of a logical structure of a device for processing customer services according to an embodiment of the present invention. The device can be implemented for Ethernet devices, OTN devices, routers, switches, etc., and includes: a customer
客户业务获取模块1601,用于从目标物理通道中获取客户业务的M个时隙,从所述M个时隙中获取所述客户业务;a client
转发标签获取模块1602,用于获取所述客户业务中的第一转发标签。The forwarding
可选地,所述转发标签获取模块1602,用于:所述第一转发标签为入标签,所述第三转发标签为出标签;根据第一转发标签获取第三转发标签;其中,所述第一转发标签和所述第三转发标签具有对应关系。Optionally, the forwarding
转发标签增删模块1603,用于删除所述第一转发标签和/或添加第三转发标签;其中,所述第一转发标签指示第一转发目的地址,所述目标物理通道与所述第一转发目的地址具有对应关系;M为大于等于1的正整数。A forwarding label addition and
可选地,所述转发标签增删模块1603,用于:删除所述客户业务的空闲码块,将携带所述第一转发标签的S码块转换为L码块,并且增加携带所述第三转发标签的S码块;所述空闲码块、S码块、L码块分别为所述客户业务经过编码形成的码块流中的三种码块类型。Optionally, the forwarding label addition and
可选地,所述转发标签增删模块1603,用于:删除所述第一转发标签,将携带所述第一转发标签的码块恢复为正常码块;其中,所述正常码块包括S码块、L码块和帧头定位开销中的任意一种,所述S码块、L码块分别为所述客户业务经过编码形成的码块流中的两种码块类型。Optionally, the forwarding label addition and
本发明实施例中,从客户业务中获取第一转发标签,删除第一转发标签和/或添加第三转发标签,实现了在灵活以太网的同一个交换平面中进行多种业务的交换。In the embodiment of the present invention, the first forwarding label is obtained from the customer service, the first forwarding label is deleted and/or the third forwarding label is added, so as to realize the exchange of multiple services in the same switching plane of the flexible Ethernet.
图17是本发明实施例提供的一种计算机设备的结构示意图。如图17所示,计算机设备1700包括:包括处理器1701、存储器1702、输入/输出接口1703、通信接口1704和总线1705。其中,处理器1701、存储器1702、输入/输出接口1703和通信接口1704通过总线1705实现彼此之间的通信连接。FIG. 17 is a schematic structural diagram of a computer device according to an embodiment of the present invention. As shown in FIG. 17 , the computer device 1700 includes a
处理器1701可以采用通用的中央处理器(Central Processing Unit,CPU),微处理器,应用专用集成电路(Application Specific Integrated Circuit,ASIC),或者至少一个集成电路,用于执行相关程序,以实现本发明实施例所提供的技术方案。The
存储器1702可以是只读存储器(Read Only Memory,ROM),静态存储设备,动态存储设备或者随机存取存储器(Random Access Memory,RAM)。存储器1702可以存储操作系统和其他应用程序。在通过软件或者固件来实现本发明实施例提供的技术方案时,用于实现本发明实施例提供的技术方案的程序代码保存在存储器1702中,并由处理器1701来执行。The
输入/输出接口1703用于接收输入的数据和信息,输出操作结果等数据。The input/
通信接口1704使用例如但不限于收发器一类的收发装置,来实现计算机设备1700与其他设备或通信网络之间的通信。
总线1705可包括一通路,在计算机设备1700各个部件(例如处理器1701、存储器1702、输入/输出接口1703和通信接口1704)之间传送信息。The bus 1705 may include a path to communicate information between the various components of the computer device 1700 (eg, the
计算机设备1700通过处理器1701执行保存于存储器1702的代码,实现如下步骤:接收客户业务,根据所述客户业务中携带的第一转发标签将所述客户业务映射到M个时隙中,所述第一转发标签指示第一转发目的地址;通过所述M个时隙将所述客户业务发送至目标物理通道中,所述目标物理通道与所述第一转发目的地址具有对应关系;其中,M为大于或等于1的正整数。The computer device 1700 executes the code stored in the
计算机设备1700通过处理器1701执行保存于存储器1702的代码,实现如下步骤:从目标物理通道中获取客户业务的M个时隙,从所述M个时隙中获取所述客户业务;获取所述客户业务中的第一转发标签,删除所述第一转发标签和/或添加第三转发标签;其中,所述第一转发标签指示第一转发目的地址,所述目标物理通道与所述第一转发目的地址具有对应关系;M为大于等于1的正整数。The computer device 1700 executes the code stored in the
具体地,通过图17所示的计算机设备1700可以实现图13、图14所示的方法实施例中的步骤。应注意,尽管图17所示的计算机设备1700仅仅示出了处理器1701、存储器1702、输入/输出接口1703、通信接口1704以及总线1705,但是在具体实现过程中,本领域的技术人员应当明白,计算机设备1700还包含实现正常运行所必须的其他器件。同时,根据具体需要,本领域的技术人员应当明白,计算机设备1700还可包含实现其他附加功能的硬件器件。此外,本领域的技术人员应当明白,计算机设备1700也可仅仅包含实现本发明实施例所必须的器件,而不必包含图17中所示的全部器件。Specifically, the steps in the method embodiments shown in FIG. 13 and FIG. 14 can be implemented by the computer device 1700 shown in FIG. 17 . It should be noted that although the computer device 1700 shown in FIG. 17 only shows the
本发明实施例中,通过客户业务中携带的第一转发标签将客户业务映射到M个时隙中,并且通过M个时隙将客户业务发送至目标物理通道中,实现了在灵活以太网的同一个交换平面中进行多种业务的交换。In the embodiment of the present invention, the customer service is mapped into M time slots through the first forwarding label carried in the customer service, and the customer service is sent to the target physical channel through the M time slots, thereby realizing the flexible Ethernet network. Multiple services are exchanged in the same switching plane.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited to this. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention. should be included within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims (22)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610356192.9A CN107438028B (en) | 2016-05-25 | 2016-05-25 | Method and equipment for processing customer service |
PCT/CN2016/102740 WO2017201953A1 (en) | 2016-05-25 | 2016-10-20 | Method and device for processing customer service |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610356192.9A CN107438028B (en) | 2016-05-25 | 2016-05-25 | Method and equipment for processing customer service |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107438028A CN107438028A (en) | 2017-12-05 |
CN107438028B true CN107438028B (en) | 2020-10-09 |
Family
ID=60412690
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610356192.9A Active CN107438028B (en) | 2016-05-25 | 2016-05-25 | Method and equipment for processing customer service |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107438028B (en) |
WO (1) | WO2017201953A1 (en) |
Families Citing this family (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111727589B (en) * | 2017-12-22 | 2022-05-27 | 瑞典爱立信有限公司 | Method and device for configuring Flex Ethernet node |
CN109995434B (en) * | 2017-12-29 | 2020-09-08 | 华为技术有限公司 | A data transmission method, communication device and storage medium |
CN110048798B (en) * | 2018-01-15 | 2021-09-24 | 深圳市中兴微电子技术有限公司 | A data transmission method and device |
CN110224949B (en) * | 2018-03-01 | 2022-05-20 | 中兴通讯股份有限公司 | Method and device for binding flexible Ethernet equipment port, and method and device for establishing path |
CN110266612B (en) * | 2018-03-12 | 2022-01-25 | 中兴通讯股份有限公司 | Data transmission method and device, network equipment and storage medium |
CN110324110B (en) * | 2018-03-30 | 2020-10-27 | 华为技术有限公司 | A communication method, communication device and storage medium |
CN110417542B (en) * | 2018-04-26 | 2022-03-18 | 中兴通讯股份有限公司 | Method, device and system for transmitting customer service |
CN111566957B (en) | 2018-04-28 | 2021-07-09 | 华为技术有限公司 | Message processing method and device |
CN111147181B (en) * | 2018-11-02 | 2022-12-09 | 中兴通讯股份有限公司 | Service sending method, receiving method, device and system, storage medium |
CN111181848B (en) * | 2018-11-09 | 2022-02-15 | 中国电信股份有限公司 | Network fragmentation method, system, router and storage medium |
CN111278059B (en) * | 2018-12-04 | 2023-09-01 | 中兴通讯股份有限公司 | Message forwarding method and device |
US12231333B2 (en) | 2019-03-20 | 2025-02-18 | Telefonaktiebolaget Lm Ericsson (Publ) | Routing flexe data in a network |
CN112243019B (en) * | 2019-07-19 | 2021-09-07 | 烽火通信科技股份有限公司 | Method and system for establishing flexible Ethernet management channel |
CN113472826B (en) * | 2020-03-30 | 2025-02-25 | 中兴通讯股份有限公司 | A service carrying, extraction method, data exchange method and device |
CN114615142B (en) * | 2020-12-03 | 2023-06-09 | 烽火通信科技股份有限公司 | Service processing method and device |
CN114567542B (en) * | 2022-02-16 | 2023-09-15 | 烽火通信科技股份有限公司 | Hard pipeline private line hop-by-hop service detection method, device, equipment and storage medium |
CN114430305B (en) * | 2022-03-02 | 2023-06-09 | 烽火通信科技股份有限公司 | Frame fixing method and system for fine-grained frames |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1581818A (en) * | 2003-07-31 | 2005-02-16 | 华为技术有限公司 | Method for supporting multi-port virtual LAN by multi-protocol label swtich |
CN1791057A (en) * | 2004-12-15 | 2006-06-21 | 华为技术有限公司 | Method for transmitting data service in OTN and its device |
CN102891813A (en) * | 2012-09-05 | 2013-01-23 | 盛科网络(苏州)有限公司 | Ethernet port architecture supporting multiple transmission modes |
CN104350716A (en) * | 2012-02-22 | 2015-02-11 | 日本电信电话株式会社 | Multi-lane transmission device and multi-lane transmission method |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100558004C (en) * | 2005-09-14 | 2009-11-04 | 展讯通信(上海)有限公司 | Radio bearer mapping method under multi-service in TD-SCDMA system |
US9185184B2 (en) * | 2009-03-31 | 2015-11-10 | Match.Com, L.L.C. | System and method for providing calendar and speed dating features for matching users in a network environment |
WO2014110361A1 (en) * | 2013-01-11 | 2014-07-17 | Interdigital Patent Holdings, Inc. | Range extension in wireless local area networks |
US9609400B2 (en) * | 2013-08-22 | 2017-03-28 | Nec Corporation | Reconfigurable and variable-rate shared multi-transponder architecture for flexible ethernet-based optical networks |
-
2016
- 2016-05-25 CN CN201610356192.9A patent/CN107438028B/en active Active
- 2016-10-20 WO PCT/CN2016/102740 patent/WO2017201953A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1581818A (en) * | 2003-07-31 | 2005-02-16 | 华为技术有限公司 | Method for supporting multi-port virtual LAN by multi-protocol label swtich |
CN1791057A (en) * | 2004-12-15 | 2006-06-21 | 华为技术有限公司 | Method for transmitting data service in OTN and its device |
CN104350716A (en) * | 2012-02-22 | 2015-02-11 | 日本电信电话株式会社 | Multi-lane transmission device and multi-lane transmission method |
CN102891813A (en) * | 2012-09-05 | 2013-01-23 | 盛科网络(苏州)有限公司 | Ethernet port architecture supporting multiple transmission modes |
Also Published As
Publication number | Publication date |
---|---|
WO2017201953A1 (en) | 2017-11-30 |
CN107438028A (en) | 2017-12-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107438028B (en) | Method and equipment for processing customer service | |
WO2017156987A1 (en) | Method and apparatus for establishing flexible ethernet (flexe) path | |
US11477549B2 (en) | Transmission network system, data switching and transmission method, apparatus and equipment | |
CN106803814B (en) | Method, device and system for establishing flexible Ethernet path | |
JP6736701B2 (en) | Service transmitting method and apparatus, service receiving method and apparatus, and network system | |
US7787460B2 (en) | System and method for switching packet traffic over an optical transport network | |
US9385943B2 (en) | Encoding and processing of signaling messages for ODU SMP | |
US11271668B2 (en) | Data transmission methods, apparatuses, devices, and system | |
US8416770B2 (en) | Universal service transport transitional encoding | |
CN113972997A (en) | A method and device for transmitting data | |
WO2018090856A1 (en) | Method and device for building flexible ethernet group | |
US12231333B2 (en) | Routing flexe data in a network | |
CN102630384B (en) | A kind ofly in optical transfer network, realize method that business transmits and realize equipment and the system of the method | |
CN102136865A (en) | Service recovering method, system and node device | |
WO2021027434A1 (en) | Service transmission method, device and system | |
CN116264587A (en) | Data transmission method and related device | |
CN114629851A (en) | Service message sending method and equipment | |
CN115460704B (en) | Flow data processing method and device, storage medium, and electronic device | |
WO2020107298A1 (en) | Device and method for universal service transport transitional encoding | |
CN120378357A (en) | Path information processing method and device | |
CN118055076A (en) | Message processing method, message processing method and device | |
WO2020114084A1 (en) | Message forwarding method and apparatus | |
WO2024032269A1 (en) | Communication method, related apparatus and computer-readable storage medium | |
CN119070946A (en) | Transmission method, device, storage medium, program product and transmission equipment | |
CN118677718A (en) | A data processing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |