Data processing method and device

By establishing the time slot mapping relationship between the working path and the protection path in the FlexE ring network, and using the time slots of the FlexE client to receive and send data streams, the processing overhead problem during small and medium particle service switching in flexible Ethernet technology is solved, and high efficiency is achieved. Data transmission and service quality assurance.

CN118677718AActive Publication Date: 2024-09-20HUAWEI TECH CO LTD

Patent Information

Application Number
CN202310293028.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-17
Publication Date
2024-09-20
Estimated Expiration
2043-03-17

AI Technical Summary

Technical Problem

When using FlexE technology to carry small-granularity services, network equipment has a large processing overhead when switching to the protection path when the working path fails, resulting in low efficiency.

Method used

By establishing the time slot mapping relationship between the working path and the protection path in the FlexE ring network, and using the time slots of the FlexE client to receive and send data streams, the network equipment is less aware of the small-granularity service time slot configuration, thereby reducing the processing overhead. And in the event of a fault, path switching is implemented through automatic protection switching (APS) code blocks.

Benefits of technology

It effectively reduces the processing overhead of network equipment when switching small-grain services to protection paths, improves data transmission efficiency and service quality, and reduces the processing burden of network equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118677718A
    Figure CN118677718A
Patent Text Reader

Abstract

The embodiment of the invention discloses a data processing method, which is applied to a first communication device in a FlexE ring network. The method comprises the following steps: receiving a first data stream of a first granular service through a time slot occupied by a first FlexE client; and in response to a fault of a first FlexE group between the first communication device and a second communication device in the FlexE looped network, sending a first data stream to a third communication device in the FlexE looped network through a time slot occupied by the second FlexE group. The plurality of first sub time slots occupied by the second FlexE client are all working time slots. By using the scheme, when the first communication device switches the first data stream to be transmitted to the third communication device through the time slot occupied by the second FlexE client, the small-particle time slot configuration corresponding to the second FlexE client does not need to be sensed, so that the processing overhead is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communications, and in particular to a data processing method and device. Background Art

[0002] Flexible Ethernet (FlexE) technology has the advantage of flexible allocation of bandwidth on demand, which can meet the needs of network scenarios such as mobile bearer, home broadband, and dedicated line access. In order to rationally utilize the bandwidth resources of FlexE, FlexE technology can be used to carry small-granular services. The so-called small-granular services can be understood as dividing the time slot corresponding to the large bandwidth in FlexE into multiple sub-slots, and the divided sub-slots are used to carry customer services with smaller bandwidth requirements.

[0003] When using FlexE technology to carry small-granule services, in order to ensure the service quality provided for small-granule services, when the working path transmitting small-granule services fails, the small-granule services can be switched to the protection path for forwarding. However, in some scenarios, the current method of switching small-granule services to the protection path for forwarding has a large processing overhead for network devices.

[0004] Therefore, a solution is urgently needed to solve the above problems. Summary of the invention

[0005] The embodiments of the present application provide a data processing method and device, which can reduce the processing overhead of network equipment when switching small-granular services to a protection path for forwarding.

[0006] In the first aspect, an embodiment of the present application provides a data processing method, which can be applied to a first communication device in a FlexE ring network. The first communication device can receive a first data stream of a first small-particle service through a time slot occupied by a first FlexE client. A first FlexE group is provided between the first communication device and the second communication device in the FlexE ring network, the first FlexE group carries a third FlexE client, and the time slot occupied by the third FlexE client is divided into a plurality of second sub-time slots, the plurality of second sub-time slots are configured to carry the first small-particle service, and the plurality of second sub-time slots are all working time slots. In the case where the first FlexE group is fault-free, the first communication device can send the first data stream to the second communication device through the time slot occupied by the third FlexE client. In addition, a second FlexE group is provided between the first communication device and the third communication device in the FlexE ring network, the second FlexE group carries a second FlexE client, the time slot occupied by the second FlexE client is divided into a plurality of first sub-time slots, the plurality of first sub-time slots are used to carry the first small-particle service, the plurality of first sub-time slots are all working time slots, and the first FlexE client and the second FlexE client have a first time slot mapping relationship. In one example, if the first FlexE group fails, the first communication device can send the first data stream to the third communication device through the time slot occupied by the second FlexE client according to the first time slot mapping relationship between the first FlexE client and the second FlexE client. In an embodiment of the present application, whether it is the multiple first sub-time slots included in the second FlexE client or the multiple second sub-time slots included in the third FlexE client, they are all in a working state, rather than some sub-time slots being in a working state and some sub-time slots being in a protection state. Therefore, when the first communication device switches the first data stream to be transmitted to the third communication device through the time slot occupied by the second FlexE client, the first communication device does not need to perceive the small-granularity time slot configuration corresponding to the second FlexE client, thereby reducing the processing overhead of the first communication device.

[0007] In a possible implementation, the path for transmitting the first data stream may include a working path and a protection path, wherein the first FlexE group may be a FlexE group on the working path, and the second FlexE group may be a FlexE group on the protection path. Using the solution of the embodiment of the present application, when the working path fails, the first data stream can be switched to the protection path for transmission, and when the first data stream is switched to the protection path for transmission, the first communication device does not need to perceive the small-granularity time slot configuration, thereby effectively saving the processing overhead of the communication device.

[0008] In a possible implementation, in addition to sending the first data stream to the third communication device through the time slot occupied by the second FlexE client, the first communication device may also send path protection switching indication information to the third communication device, and the path protection switching indication information instructs the third communication device to switch from the working path to the protection path. In this way, after receiving the first data stream and the path protection switching indication information, the third communication device can continue to forward the first data stream through the protection path, thereby ensuring that the first data stream is forwarded to the destination communication device through the protection path.

[0009] In a possible implementation, the first communication device may send the aforementioned path protection switching indication information to the third communication device through the time slot occupied by the second FlexE client. In a specific example, the first communication device may send a FlexE operation, administration and maintenance (OAM) message to the third communication device through the time slot occupied by the second FlexE client, and the FlexE OAM message includes an automatic protection switching (APS) code block, and the APS code block is used to carry the path protection switching indication information.

[0010] In a possible implementation, after the working path failure is restored, the first communication device may switch the small-particle service back to the working path for forwarding. In a specific example, the first communication device may also receive the second data stream of the first small-particle service through the time slot occupied by the first FlexE client, and send the second data stream to the second communication device through the time slot occupied by the third FlexE client when the first FlexE group failure is restored based on the second time slot mapping relationship between the first FlexE client and the third FlexE client.

[0011] In a possible implementation, the first communication device can also receive the third data stream of the second small-particle service through the time slot occupied by the fourth FlexE client. A third FlexE group is provided between the first communication device and the third communication device in the FlexE ring network. The third FlexE group carries the sixth FlexE client. The time slot occupied by the sixth FlexE client is divided into multiple fourth sub-time slots. The multiple fourth sub-time slots are configured to carry the second small-particle service, and the multiple fourth sub-time slots are all working time slots. In the case that the third FlexE group is fault-free, the first communication device can send the third data stream to the third communication device through the time slot occupied by the sixth FlexE client. In addition, a fourth FlexE group is provided between the first communication device and the second communication device, and the fourth FlexE group carries the fifth FlexE client. The time slot occupied by the fifth FlexE client is divided into multiple third sub-time slots, and the multiple third sub-time slots are used to carry the second small-particle service. The multiple third sub-time slots are all working time slots. The fourth FlexE client and the fifth FlexE client have a third time slot mapping relationship. In one example, if the third FlexE group fails, the first communication device can send the third data stream to the second communication device through the time slot occupied by the fifth FlexE client according to the third time slot mapping relationship between the fourth FlexE client and the fifth FlexE client. In an embodiment of the present application, whether it is the multiple third sub-time slots included in the fifth FlexE client or the multiple fourth sub-time slots included in the sixth FlexE client, they are all in a working state, rather than some sub-time slots being in a working state and some sub-time slots being in a protection state. Therefore, when the first communication device switches the third data stream to the time slot occupied by the fifth FlexE client for transmission to the second communication device, the first communication device does not need to perceive the small-granularity time slot configuration corresponding to the fifth FlexE client, thereby reducing the processing overhead of the first communication device.

[0012] In a possible implementation, the first small-granule service and the second small-granule service belong to the same small-granule service. In this case, for the first small-granule service, the paths of its corresponding uplink and downlink data flows are symmetrical, thereby providing a better quality of service for the small-granule service.

[0013] In the second aspect, an embodiment of the present application provides a data processing method, which can be applied to a first communication device in a FlexE ring network, and the first communication device can receive a first data stream of a first small-particle service sent by a second communication device through a time slot occupied by a first FlexE client; wherein: a first FlexE group is provided between the second communication device and the first communication device, the first FlexE group carries the first FlexE client, and the time slot occupied by the first FlexE client is divided into a plurality of first sub-time slots, the plurality of first sub-time slots are used to carry the first small-particle service, and the plurality of first sub-time slots are all working time slots; the first data stream is sent through a protection path. In an embodiment of the present application, the plurality of first sub-time slots are all in a working state, rather than some sub-time slots being in a working state and some sub-time slots being in a protection state. Therefore, when the first communication device sends the first data stream through the protection path, it is not necessary to perceive the small-particle time slot configuration corresponding to the first FlexE client, thereby reducing the processing overhead of the first communication device.

[0014] In a possible implementation manner, the method further includes: receiving path protection switching indication information sent by the second communication device, where the path protection switching indication information instructs the first communication device to switch from the working path to the protection path.

[0015] In one possible implementation, receiving the path protection switching indication information sent by the second communication device includes: receiving the FlexE operation, management and maintenance OAM message sent by the second communication device through the time slot occupied by the first FlexE client, and the automatic protection switching APS code block in the FlexE OAM message is used to carry the path protection switching indication information.

[0016] In a possible implementation manner, sending the first data flow through the protection path includes: sending the first data flow through the protection path according to the path protection switching indication information.

[0017] In the third aspect, an embodiment of the present application provides a first communication device, which includes: a transceiver unit and / or a processing unit; the transceiver unit is used to perform the receiving and / or sending operations performed by the first communication device as described in the first aspect or the second aspect; the processing unit is used to perform operations other than the receiving and / or sending operations performed by the first communication device as described in the first aspect or the second aspect.

[0018] In a specific example, the first communication device may include a receiving unit and a sending unit.

[0019] As an example:

[0020] A receiving unit is configured to receive a first data stream of a first small-particle service through a time slot occupied by a first flexible Ethernet client FlexE client; a sending unit is configured to send the first data stream to a third communication device in the FlexE ring network through a time slot occupied by the second FlexE client based on a first time slot mapping relationship between the first FlexE client and the second FlexE client in response to a failure of a first FlexE group between the first communication device and the second communication device in the FlexE ring network, wherein: a second FlexE group is provided between the first communication device and the third communication device, the second FlexE group carries the second FlexE client, the time slot occupied by the second FlexE client is divided into a plurality of first sub-time slots, the plurality of first sub-time slots are used to carry the first small-particle service, and the plurality of first sub-time slots are all working time slots; the first FlexE group is used to carry a third FlexE client, the time slot occupied by the third FlexE client is divided into a plurality of second sub-time slots, the plurality of second sub-time slots are configured to carry the first small-particle service, and the plurality of second sub-time slots are all working time slots.

[0021] In a possible implementation manner, the sending unit is further configured to: send path protection switching indication information to the third communication device, where the path protection switching indication information instructs the third communication device to switch from a working path to a protection path.

[0022] In a possible implementation, the sending unit is specifically used to: send a FlexE operation, management and maintenance OAM message to the third communication device through the time slot occupied by the second FlexE client, and the automatic protection switching APS code block in the FlexE OAM message is used to carry the path protection switching indication information.

[0023] In a possible implementation, the receiving unit is further used to: receive the second data stream of the first small-particle service through the time slot occupied by the first FlexE client; the sending unit is also used to respond to the failure recovery of the first FlexE group, based on the second time slot mapping relationship between the first FlexE client and the third FlexE client, and send the second data stream to the second communication device through the time slot occupied by the third FlexE client.

[0024] In a possible implementation, the receiving unit is further used to receive a third data stream of a second small-particle service through a time slot occupied by a fourth FlexE client; the sending unit is further used to send the third data stream to a second communication device in the FlexE ring network through a time slot occupied by the fifth FlexE client based on a third time slot mapping relationship between the fourth FlexE client and the fifth FlexE client in response to a third FlexE group failure between the first communication device and the third communication device in the FlexE ring network, wherein: a fourth FlexE group is provided between the first communication device and the second communication device, the fourth FlexE group carries the fifth FlexE client, the time slot occupied by the fifth FlexE client is divided into a plurality of third sub-time slots, the plurality of third sub-time slots are used to carry the second small-particle service, and the plurality of third sub-time slots are all working time slots; the third FlexE group is used to carry a sixth FlexE client, the time slot occupied by the sixth FlexE client is divided into a plurality of fourth sub-time slots, the plurality of fourth sub-time slots are configured to carry the second small-particle service, and the plurality of fourth sub-time slots are all working time slots.

[0025] In a possible implementation manner, the first small-granularity service and the second small-granularity service belong to the same small-granularity service.

[0026] In a possible implementation, the first FlexE group is a FlexE group on a working path, and the second FlexE group is a FlexE group on a protection path.

[0027] As yet another example:

[0028] A receiving unit is used to receive a first data stream of a first small-granularity service sent by a second communication device through a time slot occupied by a first flexible Ethernet client FlexE client; wherein: a first FlexE group is provided between the second communication device and the first communication device, the first FlexE group carries the first FlexE client, the time slot occupied by the first FlexE client is divided into multiple first sub-time slots, the multiple first sub-time slots are used to carry the first small-granularity service, and the multiple first sub-time slots are all working time slots; a sending unit is used to send the first data stream through a protection path.

[0029] In a possible implementation manner, the receiving unit is further configured to: receive path protection switching indication information sent by the second communication device, where the path protection switching indication information instructs the first communication device to switch from the working path to the protection path.

[0030] In a possible implementation, the receiving unit is specifically used to: receive the FlexE operation, management and maintenance OAM message sent by the second communication device through the time slot occupied by the first FlexE client, and the automatic protection switching APS code block in the FlexE OAM message is used to carry the path protection switching indication information.

[0031] In a possible implementation manner, the sending unit is specifically configured to send the first data flow through the protection path according to the path protection switching indication information.

[0032] In a fourth aspect, an embodiment of the present application provides a communication device, comprising: a communication interface and a processor. According to the communication interface and the processor, the communication device executes the method described in any one of the first aspect above or any one of the second aspect above.

[0033] In a specific design, the communication device may be a chip, the communication interface includes an interface circuit, and the processor includes a processing circuit. The interface circuit may include an input circuit and an output circuit. The processing circuit is used to receive a signal through the input circuit and transmit a signal through the output circuit, so that any aspect of the first aspect to the second aspect, and any implementation of any aspect is implemented.

[0034] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, including instructions or a computer program, which, when executed on a processor, executes the method described in any one of the first aspect or any one of the second aspect.

[0035] In a sixth aspect, an embodiment of the present application provides a computer program product, including a computer program product, which, when running on a processor, executes the method described in the first aspect and any one of the first aspects, or executes the method described in the second aspect and any one of the second aspects.

[0036] In the seventh aspect, an embodiment of the present application provides a communication system, which includes: a first communication device that executes the method described in the first aspect and any one of the above first aspects, and a first communication device that executes the method described in the second aspect and any one of the above second aspects.

[0037] In an eighth aspect, an embodiment of the present application provides a chip system, which may include a processor. The processor is coupled to a memory and can be used to perform any of the first to second aspects above, and any implementation of any aspect. Optionally, the chip system also includes a memory. The memory is used to store a computer program (also referred to as code, or instruction). The processor is used to call and run a computer program from the memory, so that a device equipped with the chip system performs any of the first to second aspects, and any implementation of any aspect.

[0038] In a ninth aspect, an embodiment of the present application provides a communication device, comprising: an interface circuit and a processing circuit. The interface circuit may include an input circuit and an output circuit. The processing circuit is used to receive a signal through the input circuit and transmit a signal through the output circuit, so that any aspect of the first aspect to the second aspect, and any implementation of any aspect is implemented. In a specific implementation, the processing circuit includes a circuit for implementing the operations performed by the Flexe shim layer.

[0039] In the specific implementation process, the above-mentioned communication device can be a chip, the input circuit can be an input pin, the output circuit can be an output pin, and the processing circuit can be a transistor, a gate circuit, a trigger, and various logic circuits. The input signal received by the input circuit can be, for example, but not limited to, received and input by a receiver, and the signal output by the output circuit can be, for example, but not limited to, output to a transmitter and transmitted by the transmitter, and the input circuit and the output circuit can be the same circuit, which is used as an input circuit and an output circuit at different times. This application does not limit the specific implementation methods of the processor and various circuits.

[0040] In another implementation, the communication device may be a part of the first communication device or the controller, such as an integrated circuit product such as a system chip or a communication chip. The interface circuit may be an input / output interface, an interface circuit, an output circuit, an input circuit, a pin or a related circuit on the chip or the chip system. The processing circuit may be a logic circuit on the chip. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0042] Figure 1a A schematic diagram of an SPN architecture supporting small particle technology provided in an embodiment of the present application;

[0043] Figure 1b A schematic diagram of a network architecture provided for an embodiment of the present application;

[0044] Figure 2a A schematic diagram of an exemplary application scenario provided for an embodiment of the present application;

[0045] Figure 2b A schematic diagram of another exemplary application scenario provided for an embodiment of the present application;

[0046] Figure 3 A schematic diagram of an application scenario provided for an embodiment of the present application;

[0047] Figure 4 A signaling interaction diagram of a data processing method provided in an embodiment of the present application;

[0048] Figure 5 A signaling interaction diagram of another data processing method provided in an embodiment of the present application;

[0049] Figure 6 A signaling interaction diagram of another data processing method provided in an embodiment of the present application;

[0050] Figure 7 A flowchart of a data processing method provided in an embodiment of the present application;

[0051] Figure 8 A flowchart of another data processing method provided in an embodiment of the present application;

[0052] Fig. 9 A schematic diagram of the structure of a first communication device provided in an embodiment of the present application;

[0053] Fig.10 A schematic diagram of the structure of a communication device provided in an embodiment of the present application;

[0054] Fig.11 A schematic diagram of the structure of a communication device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0055] The embodiments of the present application provide a data processing method and device, which can reduce the processing overhead of network equipment when switching small-granular services to a protection path for forwarding.

[0056] To facilitate understanding, we first introduce the relevant content of FlexE.

[0057] FlexE group: One or more PHYs included in each FlexE group. When multiple PHYs are included, the multiple PHYs are physically independent. Network devices that apply FlexE technology can use the PHY number to identify which PHYs are included in a FlexE group to achieve logical bundling of multiple PHYs. For example, the number of each PHY can be identified by a number between 1 and 254, and 0 and 255 are reserved numbers. The number of a PHY can correspond to an interface on a network device. The same number must be used to identify the same PHY between two adjacent network devices. The number of each PHY included in a FlexE group does not have to be continuous. Normally, there is one FlexE group between two network devices, but this application does not limit the existence of only one FlexE group between two network devices, that is, there can also be multiple FlexE groups between two network devices. A PHY can be used to carry at least one client, and a client can be transmitted on at least one PHY. FlexE can support the mapping and transmission of any number of different FlexE Clients on any group of PHYs, thereby realizing functions such as PHY bundling, channelization and sub-rate.

[0058] FlexE Client: corresponds to various user interfaces or bandwidths of the network. FlexE Client represents the customer data stream transmitted in a specified time slot (one time slot or multiple time slots) on the FlexE Group. A FlexE Group can carry multiple FlexE Clients, and a FlexE Client can correspond to one to multiple user service data streams (also called MAC Client). FlexE client can be flexibly configured according to bandwidth requirements, and supports Ethernet media access control (MAC) data streams of various rates (such as 10G, 40G, n*25G data streams, and even non-standard rate data streams). For example, the data stream can be passed to the FlexE shim layer through 64B / 66B encoding. Customers sent through the same FlexE group need to share the same clock, and these customers need to adapt according to the allocated time slot rate. In this application, a FlexE client (also referred to as a FlexE client interface) can be used to transmit the service data stream of the corresponding FlexE client. The FlexE client interface is a logical interface. Each FlexE interface can be logically divided into one or more FlexE client interfaces, each FlexE interface can be divided into multiple time slots in the time domain, and each FlexE client interface occupies at least one time slot of the multiple time slots. Among them: 64 / 66B means that the data code block includes 66 bits, the first two bits of the 66 bits are synchronization bits, and the last 64 bits are data bits. At the PCS layer, 64 / 66B can be extracted through the first two synchronization bits.

[0059] FlexE shim: As an additional logical layer inserted between the MAC and PHY (PCS sublayer) of the traditional Ethernet architecture, it is the core architecture for implementing FlexE technology based on the time slot distribution mechanism. For the transmitter, the main function of FlexE shim is to encapsulate data into pre-divided time slots. Then, according to the FlexE time slot table, each divided time slot is mapped to the PHY in the FlexE group for transmission. Among them, each time slot is mapped to a PHY in the FlexE group. Taking 100GE PHY as an example, the FlexE Shim layer can divide each 100GE PHY in the FlexE Group into a data bearer channel of 20 time slots, and the bandwidth corresponding to each slot is 5Gbps. Every time the PHY sends 64 / 66B data of 1023*20Slot, an overhead FlexE (Overhead, OH) will be inserted to tell the receiving end how to parse the received data.

[0060] Small particle service: In some embodiments, the slot corresponding to the large bandwidth can be further divided into multiple sub-slots to carry customer services with smaller bandwidth requirements, which are also referred to as small particle services. For example, the large bandwidth can be understood as the bandwidth corresponding to the service layer of the small particle service. For example, when the service layer of the small particle service is the MTN channel layer, the bandwidth of the MTN channel layer is 5Gbps, and the slot corresponding to the large bandwidth of 5Gbps is further divided according to the granularity of 10Mbps, and divided into 480 sub-slots, and these 480 sub-slots are used to carry small particle services. For example, the first sub-slot, the third sub-slot and the fifth sub-slot of these 480 sub-slots are used to carry small particle service 1. For another example, when the service layer of the small particle service is the 10GE Ethernet physical layer, the corresponding large bandwidth is further divided into multiple sub-slots according to a finer granularity to carry small particle services. It can be seen that the bandwidth granularity of small particles is finer, and small-granule services refer to services with relatively small bandwidth requirements. For example, the bandwidth requirement of the power line service is 10Mbps. At this time, the small-granule technology can be used to allocate a specified bandwidth for the power line service to carry the service traffic of the power line service. The above power line service is a small-granule service.

[0061] Among them, when transmitting small-granule services, for the transmitting end, in one example, FlexE shim can encapsulate the data into a pre-divided sub-slot according to the time slot configuration of the small particles for transmission. For the receiving end, FlexE shim can restore the data received through the slot with a corresponding bandwidth of 5Gbps to the original small-granule service data and continue to transmit it according to the time slot configuration of the small particles. In another example, for the transmitting end, the MTN path adaptation function can be used to encapsulate the data into the corresponding sub-slot for transmission, and for the receiving end, the MTN path adaptation function can be used to restore the data received through the slot with a corresponding bandwidth of 5Gbps to the original small-granule service data and continue to transmit it. In one example, the small-granule service data can be carried in a fine granularity unit (FGU) base frame. In one example, the small-granule unit can also be referred to as a fine granularity basic unit (fgBU), and the two can be used interchangeably in the following description.

[0062] Regarding the FlexE OH insertion method and the structure of the overhead frame, for a specific implementation method, please refer to the relevant description of FlexE in the Optical Internetworking Forum (OIF), which is not described in detail here.

[0063] Next, we introduce a possible Slicing Packet Network (SPN) architecture that supports small-granularity technology. Figure 1a , which is a schematic diagram of an SPN architecture supporting small particle technology provided in an embodiment of the present application.

[0064] like Figure 1a As shown, the SPN architecture includes:

[0065] Slicing packet layer (SPL), slicing channel layer (SCL), slicing transport layer (STL), integrated management and control software defined network (SDN) slicing control plane and ultra-high precision event frequency synchronization technology. Among them:

[0066] SCL includes FGU layer, MTN path (MTNP) layer and MTN section (MTNS) layer. Among them: FGU layer provides end-to-end deterministic low-latency N*10Mbps granularity hard slice channel for small-granular services. FGU layer is an independent sublayer and can be flexibly selected to be carried on MTN path layer or Ethernet physical layer as needed. In other words, the service layer of FGU layer can be MTN path layer or Ethernet physical layer.

[0067] STL adds a 10GE Ethernet physical layer interface based on the original high-speed Ethernet physical layer interface. The 10GE Ethernet physical layer can be applied to customer-premises equipment (CPE) scenarios and directly carry the FGU layer.

[0068] Next, taking the MTN channel layer carrying small-granularity services as an example, the MTNS and MTNP are introduced from the perspectives of the sending side behavior and the receiving side behavior.

[0069] First, the sending side behavior and the receiving side behavior of MTNS are introduced.

[0070] In one example, taking 100GBASE-R PHY as an example, MTNS provides point-to-point connection, is responsible for time slotting adjacent nodes connected by Ethernet PHY, and provides bonding, sub-rate, and channelization functions. MTNS is bidirectional and symmetrical, and here we take one data transmission direction as an example for explanation.

[0071] On the sending side, MTNS inserts a special O code block into the 66B code block sequence, inserts a D code block after every 1023*20 66B code blocks, and inserts a D code block after every 1023*20 66B code blocks, for a total of 7 D code blocks. After inserting the 7th D code block, a special O code block is inserted after every 1023*20 code blocks. In this way, a total of 8*(1023*20+1) code blocks constitute an MTNS frame.

[0072] The O code block plus the aforementioned 7 D code blocks constitute the overhead of the MTNS frame. The overhead carries some point-to-point link configuration information indicating MTNS, such as time slot configuration information, section layer group configuration information, and so on.

[0073] MTNS continuously sends data to the receiving end according to the above frame structure. The continuous MTNS frames are equivalent to 66B code block streams, which are converted into bits, optical signals, or other analog signals such as electrical pulses according to the lower PHY layer protocol defined by the Ethernet Institute of Electrical and Electronics Engineers (IEEE) 802.3, and sent out from the sending side device.

[0074] The receiving side first identifies the O code block of the received signal (such as bits, optical signals, or other analog signals such as electrical pulses) according to the Ethernet lower PHY layer protocol, locks the frame header of the MTNS frame, and knows that the next overhead code block appears after 1023*20 code blocks according to the fixed count. Correspondingly, the receiving side can determine the position of the data corresponding to each time slot in the received signal based on the O code block.

[0075] MTNS can only provide point-to-point connections, while MTNP is responsible for providing "end-to-end channel connection" from the network entrance to the network exit. MTNP provides end-to-end rigid hard pipe connection and provides management, maintenance and protection (OAM and protection, OAMP) functions. A typical networking of MTNP can be referred to Figure 1b As shown, Figure 1b A schematic diagram of a network architecture provided for an embodiment of the present application.

[0076] Next, combine Figure 1b Introduce the sending side behavior and receiving side behavior of MTNP.

[0077] like Figure 1b As shown, there is an end-to-end MTNP between provider edge (PE) 1 and PE2, and there is a point-to-point MTNS between PE1 and PE2.

[0078] At the network to network interface (NNI) side of PE1, the MTNP layer obtains the client signal from the MAC layer, and the client signal may be a MAC frame. The MAC mentioned here may be a processing module of the MAC layer. After obtaining the MAC frame, the MTNP layer encodes the MAC frame into a series of 64 / 66B code block sequences. Specifically, each MACframe is encoded into a series of 66B code block sequences defined by a start code block (S code block) and an end code block (i.e., T code block), and a series of MAC frame sequences are encoded into a series of 66B code block sequences.

[0079] In one example, if there is no valid MAC frame waiting to be sent, the MTNP will fill the 66B code block with an I code block, thereby ensuring that the hard pipe of the MTNP has data to send at all times.

[0080] The receiving side of the P node first identifies the MTNS frame according to the receiving side behavior of MTNS described above. Then, according to the pre-configuration, the MTNP data is restored from the specified MTNS time slot. The P node then performs MTNP forwarding. It should be noted here that the essential difference between MTNP forwarding and IP forwarding and MAC bridge forwarding is that MTNP forwarding exclusively occupies device forwarding resources, does not support statistical multiplexing, and the inlet and outlet of the network node (such as the P node) need to be configured with the same number of MTNS time slots.

[0081] As described above, in some embodiments, the slot corresponding to the large bandwidth can be further divided into multiple sub-slots for carrying small-particle services. For example, the slot corresponding to the bandwidth of 5Gbps is further divided according to the granularity of 10Mbps, and is divided into 480 sub-slots, and these 480 sub-slots are used to carry small-particle services. For this case, MTNFGU can further divide 480 10Mbps time slots in the 5Gbps MTNP in a hierarchical manner. In this scenario, MTNP and MTN FGU can be decoupled, and at this time, MTNP serves as the service layer of MTN FGU. In one example, the fg-BU may include FGU base frame overhead and FGU base frame payload. Among them, the FGU base frame overhead can be used to carry the time slot information of small particles, and the FGU base frame payload is used to carry the small-particle service data. Among them, the time slot information of small particles can be a mapping relationship between sub-slot and sub-client. Among them, sub-client is similar to FlexE client, and also corresponds to various user interfaces or bandwidths of the network. The difference from the FlexE client is that a sub-client represents a client data stream transmitted on a sub-slot, and a sub-client can correspond to one or more sub-slots.

[0082] For the scenario where the slot corresponding to the bandwidth of 5Gbps is further divided according to the granularity of 10Mbps, in one example, an FGU base frame may include 24 sub-timeslots, each sub-timeslot includes 65 bytes, and each sub-timeslot can carry 8 65-bit code blocks. In other words, the aforementioned base frame payload 120 may include 65*24=1560 bytes. 20 FGU base frames form a multiframe, and 24×20=480 sub-timeslots are provided in the multiframe. In one example, after the fg-BU is encoded by 64 / 66B, 1 S0 code block, 196 D code blocks and 1 T code block can be obtained.

[0083] For the NNI sending side of PE1, the MTN FGU layer, like MTNP, first encodes the MAC frame client signal into a 66B code block sequence and then inserts the OAM code block. It should be noted that the OAM code block of the small particle MTNP (fgMTNP) is inserted into the MTN FGU layer, not the OAM code block of MTNP. Subsequently, a series of 66B code block sequences containing fgMTNP OAM code blocks are mapped into the 10Mbps time slot specified in the fg-BU according to the pre-configuration.

[0084] The fgBU sequence itself is actually a string of 66B code blocks, which can be equivalent to the client signal of MTNP. After inserting the MTNP OAM code block, it is mapped into the time slot specified by MTNS according to the behavior of the MTNS sending side described above.

[0085] The receiving side of the P node recovers the MTNP signal according to the above-mentioned behavior of the receiving side of the MTNP, and then extracts the OAM code block in the MTNP. After the receiving side of the P node recovers the MTNP signal, it can complete the framing of the fg-BU by searching the S code block.

[0086] The P node performs fgMTNP forwarding. fgMTNP forwarding is the same as MTNP forwarding, which is TDM forwarding, occupies the device forwarding resources exclusively, and does not support statistical multiplexing. The P node does not terminate the OAM code block of fgMTNP.

[0087] The sending behavior of the P node is the inverse process of the receiving behavior of the P node, which is not described in detail here. In addition, the receiving behavior of the PE2 node is the inverse process of the sending behavior of the PE1 node, which is not described in detail here. At present, when using FlexE technology to carry small-granule services, in order to ensure the service quality provided for small-granule services, when the working path transmitting the small-granule services fails, the small-granule services can be switched to the protection path for forwarding. Figure 2a , which is a schematic diagram of an exemplary application scenario provided in an embodiment of the present application.

[0088] like Figure 2a As shown in the figure, network equipment (NE) 1, NE2, NE3, NE4, NE5 and NE6 form a FlexE ring network. The FlexE ring network can be understood as a ring network that applies the FlexE technology. The FlexE technology can also be called the FlexE mapping technology. FlexE mapping refers to the mapping of time slots. The time slots mentioned here can be the time slots corresponding to large particles or the sub-time slots corresponding to small particles.

[0089] Each network device can act as a receiver (receive, RX) or a transmitter (transmit, TX). When the network device acts as a receiver, it can receive the data stream corresponding to the small-granularity service through the time slot occupied by FlexE client0, such as Figure 2aAs shown, taking the network device NE4 as an example, when it acts as a receiving end, the time slot occupied by FlexEclient0 is divided into two parts, namely W1 and P2. As an example, W1 and P2 each occupy half of the sub-time slot occupied by FlexE client0. Among them, W1 is in a working state and P2 is in a protection state. In a specific example, the bandwidth occupied by FlexE client0 is 5G, which includes a total of 480 sub-time slots, and W1 and P2 each occupy 240 sub-time slots. In an example, W1 and P2 can be carried by FlexE group1 between NE4 and NE5.

[0090] Similarly, when the network device acts as a transmitter, it can send the data stream corresponding to the small-granularity service through the time slot occupied by FlexE client0, such as Figure 2a As shown, taking the network device NE4 as an example, when it acts as a transmitter, the time slot occupied by FlexEclient0 is divided into two parts, namely W2 and P1. As an example, W2 and P1 each occupy half of the sub-time slot occupied by FlexE client0. Among them, W2 is in a working state and P1 is in a protection state. In a specific example, the bandwidth occupied by FlexE client0 is 5G, which includes a total of 480 sub-time slots, and W2 and P1 each occupy 240 sub-time slots. In an example, W2 and P1 can be carried by FlexE group2 between NE4 and NE5.

[0091] In one example, when Figure 2a When the FlexE groups provided between the various network devices shown do not fail, NE4 can send the small-granule service data to NE2 along the working path. As an example, NE4 can send the small-granule service data to NE2 in a counterclockwise direction. Specifically, NE4 can send the small-granule service data to NE2 in a counterclockwise direction through path 201. When NE4 sends the small-granule service data to NE2 through path 201, the small-granule service data is carried through W1 between NE4 and NE3 and W1 between NE3 and NE2.

[0092] In one example, if Figure 2b As shown, Figure 2bAnother exemplary application scenario diagram provided for an embodiment of the present application. When the FlexE group between NE4 and NE2 fails, NE4 can send the data stream corresponding to the small-granular service to NE2 through the protection path. As an example, NE4 can send the data stream corresponding to the aforementioned small-granular service to NE2 in a clockwise direction. Specifically, NE4 sends the aforementioned data stream received through W1 between NE5 and NE4 to NE5 through P1 between NE5 and NE4, and NE5 further sends the data stream to NE2 through P1 between NE5 and NE6. Among them, when NE5 sends the data stream to NE2 through P1 between NE5 and NE6, the data stream is carried through P1 between NE5 and NE6, P1 between NE6 and NE1, and P1 between NE1 and NE2.

[0093] However, since half of the sub-timeslots occupied by FlexE client0 are in working state and the other half are in protection state, when NE4 sends the data stream to NE5 through P1 between NE5 and NE4, it is necessary to perform time slot mapping on the data stream according to the local small-granularity time slot configuration of NE4. Similarly, when NE5, NE6 and NE1 forward the data stream, they also need to perform time slot mapping on the data stream according to the local small-granularity time slot configuration.

[0094] However, the processing overhead of time slot mapping of data streams based on small-granular configuration is large. Figure 2a and Figure 2b In the scenario shown, the small-granularity service is switched to be forwarded on the protection path, and the processing overhead of the network device is relatively large.

[0095] In order to solve this problem, the embodiment of the present application provides a data processing method and device. Next, the data processing method provided by the embodiment of the present application is introduced in conjunction with the accompanying drawings.

[0096] See also Figure 3 , which is a schematic diagram of an application scenario provided by an embodiment of the present application. The data processing method provided by an embodiment of the present application can be applied to Figure 3 The application scenario shown.

[0097] like Figure 3 As shown in the figure, NE1, NE2, NE3, NE4, NE5, and NE6 form a FlexE ring network.

[0098] Each network device can act as either a RX or a transmitter. When the network device acts as a receiver, it can receive the data stream corresponding to the small-granularity service through the time slot occupied by FlexE client0, such as Figure 3As shown, taking the network device NE4 as an example, when it acts as a receiving end, the time slot W1 occupied by FlexE client0 is in working state. In other words, the time slot occupied by FlexE client0 is divided into multiple sub-time slots, and the multiple sub-time slots are all working time slots. In a specific example, the bandwidth occupied by FlexE client0 is 5G, including a total of 480 sub-time slots, and W1 occupies 480 sub-time slots. In an example, W1 can be carried by FlexE group1 between NE4 and NE5.

[0099] Similarly, when the network device acts as a transmitter, it can send the data stream corresponding to the small-granularity service through the time slot occupied by FlexE client0, such as Figure 3 As shown, taking network device NE4 as an example, when it acts as a transmitter, the time slot P1 occupied by FlexE client0 is in working state. In a specific example, the bandwidth occupied by FlexE client0 is 5G, including 480 sub-time slots, and P1 occupies 480 sub-time slots. In an example, P1 can be carried by FlexEgroup2 between NE4 and NE5.

[0100] Next, combine Figure 4 , the application provided in the embodiment of the present application is applied to Figure 3 The data processing method for the application scenario shown is introduced. Figure 4 A signaling interaction diagram of a data processing method provided in an embodiment of the present application. Figure 4 The data processing method 100 shown may include the following S101 - S104 .

[0101] The communication device mentioned in the embodiments of the present application may be a network device such as a switch or a router, or may be a component of a network device, such as a single board or a line card on the network device, or may be a functional module on the network device, or may be a chip for implementing the method of the present application, which is not specifically limited in the embodiments of the present application. The communication devices may be directly connected, for example, via an Ethernet cable or an optical cable, but are not limited thereto.

[0102] In the embodiment of the present application, the communication device corresponds to a network device, which means that the communication device can be the network device itself or a component of the network device.

[0103] The network device or node in the embodiments of the present application may be a network device such as a switch or a router.

[0104] In one example, when Figure 4 The method 100 shown is applied to Figure 3 In the application scenario shown, the communication device 1 in the method 100 may correspond to Figure 3 NE4 shown; the communication device 2 in method 100 may correspond to Figure 3 NE3 shown; the communication device 3 in method 100 may correspond to Figure 3 NE5 shown.

[0105] S101: Communication device 1 receives data stream 1 of small-granularity service 1 through the time slot occupied by FlexE client 1.

[0106] In an example, the FlexE client 1 may be a FlexE client carried by the FlexE group between the communication device 3 and the communication device 1. In this case, the communication device 1 may receive the data stream 1 sent by the communication device 3 through the time slot occupied by the FlexE client 1. Figure 3 In the scenario shown, the time slot occupied by the FlexE client1 may correspond to W1 between NE4 and NE5. Accordingly, the FlexE group carrying the FlexE client1 may be the FlexE group provided between NE4 and NE5 and carrying the W1.

[0107] S102: In response to a failure of FlexEgroup1 between communication device 1 and communication device 2 in the FlexE ring network, communication device 1 sends the data stream 1 to communication device 3 in the FlexE ring network through the time slot occupied by FlexE client2 based on the time slot mapping relationship between FlexE client1 and FlexE client2.

[0108] In the embodiment of the present application, a FlexE group 2 is provided between the communication device 1 and the communication device 3, the FlexE group 2 carries the FlexE client 2, the time slot occupied by the FlexE client 2 is divided into a plurality of sub-time slots 1, the plurality of sub-time slots 1 are used to carry the small-granularity service 1, and the plurality of sub-time slots 1 are all working time slots. Figure 3It is understood that the time slot occupied by the FlexE client 2 can correspond to P1 between NE4 and NE5, and accordingly, FlexE group2 is a FlexE group provided between NE4 and NE5 and carrying the P1. As an example, there is a time slot mapping relationship between the FlexE client1 and FlexE client2, and the data stream 1 received by the communication device 1 through the time slot occupied by FlexE client1 can be mapped to the time slot occupied by FlexE client2 and forwarded. As an example, the shim layer of the communication device 1 can map the data stream 1 received through the time slot occupied by FlexE client1 to the time slot occupied by FlexE client2. Since all the sub-time slots 1 in the multiple sub-time slots 1 occupied by the FlexE client2 are working time slots, when the data stream 1 received through the time slot occupied by FlexE client1 is mapped to the time slot occupied by FlexE client2 for forwarding, there is no need to perceive the small-granularity time slot configuration, and the large-granularity time slot mapping can be performed at the large-granularity level, and the processing overhead of the communication device 1 is small.

[0109] In the embodiment of the present application, a FlexE group 1 is provided between the communication device 1 and the communication device 3. The FlexE group 1 is used to carry the FlexE client 3. The time slot occupied by the FlexE client 3 is divided into a plurality of sub-time slots 2. The plurality of sub-time slots 2 are configured to carry the small-granular service 1. The plurality of sub-time slots 2 are all working time slots. Figure 3It is understood that the time slot occupied by the FlexE client3 can correspond to W1 between NE4 and NE3, and accordingly, FlexEgroup1 is a FlexE group provided between NE4 and NE3 and carrying the W1. As an example, there is a time slot mapping relationship between the FlexEclient1 and the FlexE client3, and the data stream 1 received by the communication device 1 through the time slot occupied by the FlexE client1 can be mapped to the time slot occupied by the FlexE client3 and forwarded. As an example, the shim layer of the communication device 1 can map the data stream 1 received through the time slot occupied by the FlexE client1 to the time slot occupied by the FlexE client3. Since all the sub-time slots 2 of the multiple sub-time slots 2 occupied by the FlexE client3 are working time slots, when the data stream 1 received through the time slot occupied by the FlexE client1 is mapped to the time slot occupied by the FlexE client2 for forwarding, there is no need to perceive the small-granularity time slot configuration, and the large-granularity time slot mapping can be performed at the large-granularity level, and the processing overhead of the communication device 1 is small.

[0110] In one example, the path that can be used to forward the aforementioned data stream 1 may include a working path and a protection path. When the working path is fault-free, the data stream 1 can be forwarded through the working path. When the working path fails, the data stream 1 can be switched to the protection path for forwarding. As an example, the aforementioned FlexE group1 can be a FlexE group on the working path, and FlexE group2 can be a FlexE group on the protection path. In this case, when FlexE group1 fails, the communication device 1 can send the data stream 1 to the communication device 3 through the time slot carried by the FlexEclient2 carried by the FlexE group2, so that the data stream 1 can be forwarded through the protection path. In one example, FlexE group1 fails, for example, the PHY included in FlexE group1 may fail.

[0111] In one example, the communication device 1 may also send path protection switching indication information to the communication device 3, and the path protection switching indication information instructs the communication device 3 to switch from the working path to the protection path. In this way, after receiving the path protection switching indication information, the communication device 3 may switch from the working path to the protection path, thereby forwarding the data stream 1 received from the communication device 1 through the protection path, so that the data stream 1 can be forwarded to the destination communication device through the protection path.

[0112] The embodiment of the present application does not specifically limit the specific implementation of the communication device 1 sending the path protection switching indication information to the communication device 3. In an example, the communication device 1 can send the path protection switching indication information to the communication device 3 through the time slot occupied by the FlexE client 2. In a specific example, the communication device 1 can send an OAM message to the communication device 3 through the time slot occupied by the FlexE client 2, and the OAM message can include the path protection switching indication information. As an example, the path protection switching indication information can be carried by the APS code block in the OAM message.

[0113] S103: The communication device 3 receives the data stream 1 sent by the communication device 1 through the time slot occupied by the FlexE client 2.

[0114] S104: The communication device 3 sends the data stream 1 through the protection path.

[0115] After the communication device 1 sends the data stream 1 to the communication device 3 through the time slot occupied by the FlexE client 2, the communication device 3 can receive the data stream 1 sent by the communication device 1 through the time slot occupied by the FlexE client 2. And further send the data stream 1 through the protection path. As an example, the communication device 3 can send the data stream 1 through the protection path according to the path protection switching indication information sent by the communication device 1. Figure 3 It is understood that after NE5 receives the data stream 1 sent by NE4 through the time slot included in P1 between NE5 and NE4, it can send the data stream 1 to NE6 through the time slot included in P1 between NE5 and NE6. Specifically, NE5 can map the data stream 1 received through the time slot included in P1 between NE5 and NE4 to the time slot included in P1 between NE5 and NE6 for transmission. In an example, all sub-time slots included in P1 between NE5 and NE6 are in working state. Therefore, when NE5 maps the data stream 1 received through the time slot included in P1 between NE5 and NE4 to the time slot included in P1 between NE5 and NE6, there is no need to perceive the small-grained time slot configuration, and large-grained time slot mapping can be performed at the large-grained level, and the processing overhead of the communication device 3 is small.

[0116] It can be seen from the above description that, by using the solution of the embodiment of the present application, when the communication device 1 forwards the data stream 1 of the small-granularity service 1 through the protection path, there is no need to perceive the small-granularity time slot configuration, and the processing overhead of the communication device 1 is relatively small.

[0117] In one example, after the working path failure is restored, the communication device 1 can switch the small-granular service 1 back to the working path for forwarding. In a specific example, the communication device 1 can also receive the data stream 2 of the small-granular service 1 through the time slot occupied by FlexE client1. In the case where the FlexE group1 failure is restored, the communication device 1 can send the data stream 2 to the communication device 2 through the time slot occupied by the FlexE client3 based on the time slot mapping relationship between the FlexE client1 and the FlexE client3. Specifically, the shim layer of the communication device 1 can map the data stream 2 received through the time slot occupied by the FlexE client1 to the time slot occupied by the FlexE client3, thereby sending the data stream 2 through the working path.

[0118] In one example, the data processing method provided in the embodiment of the present application may also include: Figure 5 Method 200 is shown. Figure 5 A signaling interaction diagram of yet another data processing method provided in an embodiment of the present application. Figure 5 The data processing method shown can be applied to Figure 5 The application scenario shown.

[0119] In one example, when Figure 5 The method 200 shown is applied to Figure 6 In the application scenario shown, the communication device 1 in the method 200 may correspond to Figure 6 NE4 shown; the communication device 2 in method 200 may correspond to Figure 6 NE3 shown; the communication device 3 in method 200 may correspond to Figure 6 NE5 shown.

[0120] The method 200 may include, for example, the following S201 - S204 .

[0121] S201: The communication device 1 receives the data stream 3 of the small-granularity service 2 through the time slot occupied by the FlexE client 4.

[0122] For reference Figure 6 To understand, Figure 6 A schematic diagram of a FlexE ring network provided in an embodiment of the present application. Figure 6 As shown, in one example, the FlexE client 4 may be a FlexE client carried by the FlexE group between the communication device 2 and the communication device 1. In this case, the communication device 1 may receive the data stream 3 sent by the communication device 2 through the time slot occupied by the FlexE client 4. Figure 6 In the scenario shown, the time slot occupied by the FlexE client4 may correspond to W2 between NE4 and NE3. Accordingly, the FlexE group carrying the FlexE client4 may be the FlexE group carrying the W2 provided between NE4 and NE3.

[0123] S202: In response to the failure of FlexE group 3 between communication device 1 and communication device 3, communication device 1 sends the data stream 3 to communication device 2 through the time slot occupied by FlexE client 5 based on the time slot mapping relationship between FlexE client 4 and FlexE client 5.

[0124] In the embodiment of the present application, a FlexE group 4 is provided between the communication device 1 and the communication device 2, and the FlexE group 4 carries the FlexE client 5. The time slot occupied by the FlexE client 5 is divided into multiple sub-time slots 3, and the multiple sub-time slots 3 are used to carry the small-granular service 2. The multiple sub-time slots 3 are all working time slots. Figure 6 It is understood that the time slot occupied by the FlexE client5 can correspond to P2 between NE4 and NE3, and accordingly, FlexE group4 is a FlexE group provided between NE4 and NE3 and carrying the P2. As an example, there is a time slot mapping relationship between the FlexE client4 and the FlexE client5, and the data stream 2 received by the communication device 1 through the time slot occupied by the FlexE client4 can be mapped to the time slot occupied by the FlexE client5 and forwarded. As an example, the shim layer of the communication device 1 can map the data stream 2 received through the time slot occupied by the FlexE client4 to the time slot occupied by the FlexE client5. Since all the sub-time slots 3 in the multiple sub-time slots 3 occupied by the FlexE client5 are working time slots, when the data stream 2 received through the time slot occupied by the FlexE client4 is mapped to the time slot occupied by the FlexE client5 for forwarding, there is no need to perceive the small-granularity time slot configuration, and the large-granularity time slot mapping can be performed at the large-granularity level, and the processing overhead of the communication device 1 is small.

[0125] In the embodiment of the present application, the FlexE group 3 is used to carry the FlexE client 6, the time slot occupied by the FlexE client 6 is divided into multiple sub-time slots 4, the multiple sub-time slots 4 are configured to carry the small-granularity service 2, and the multiple sub-time slots 4 are all working time slots. Figure 6 It is understood that the time slot occupied by the FlexE client6 can correspond to W2 between NE4 and NE5, and accordingly, FlexE group3 is a FlexE group provided between NE4 and NE5 and carrying the W2. As an example, there is a time slot mapping relationship between the FlexE client4 and the FlexE client6, and the data stream 2 received by the communication device 1 through the time slot occupied by the FlexE client4 can be mapped to the time slot occupied by the FlexE client6 and forwarded. As an example, the shim layer of the communication device 1 can map the data stream 2 received through the time slot occupied by the FlexE client4 to the time slot occupied by the FlexE client6. Since all the sub-time slots 4 of the multiple sub-time slots 4 occupied by the FlexE client6 are working time slots, when the data stream 2 received through the time slot occupied by the FlexE client4 is mapped to the time slot occupied by the FlexE client6 for forwarding, there is no need to perceive the small-granularity time slot configuration, and the large-granularity time slot mapping can be performed at the large-granularity level, and the processing overhead of the communication device 1 is small.

[0126] In one example, the path that can be used to forward the aforementioned data stream 2 may include a working path and a protection path. When the working path is fault-free, the data stream 2 can be forwarded through the working path. When the working path fails, the data stream 2 can be switched to the protection path for forwarding. As an example, the aforementioned FlexE group 3 may be a FlexE group on the working path, and FlexE group 4 may be a FlexE group on the protection path. In this case, when FlexE group 3 fails, the communication device 1 may send the data stream 2 to the communication device 2 through the time slot carried by the FlexEclient 5 carried by FlexE group 4, so that the data stream 2 can be forwarded through the protection path. In one example, FlexE group 3 fails, for example, the PHY included in FlexE group 3 may fail.

[0127] In one example, the communication device 1 may also send path protection switching indication information to the communication device 2, and the path protection switching indication information instructs the communication device 2 to switch from the working path to the protection path. In this way, after the communication device 2 receives the path protection switching indication information, it can switch from the working path to the protection path, thereby forwarding the data stream 2 received from the communication device 1 through the protection path, so that the data stream 2 can be forwarded to the destination communication device through the protection path. Regarding the specific implementation of the communication device 1 sending the path protection switching indication information to the communication device 2, reference can be made to the specific implementation part of the above method 100 for the communication device 1 sending the path protection switching indication information to the communication device 3, and no repeated description is made here.

[0128] S203: The communication device 2 receives the data stream 3 sent by the communication device 1 through the time slot occupied by the FlexE client 5.

[0129] S204: The communication device 2 sends the data stream 3 through the protection path.

[0130] After the communication device 1 sends the data stream 2 to the communication device 2 through the time slot occupied by the FlexE client 5, the communication device 2 can receive the data stream 2 sent by the communication device 1 through the time slot occupied by the FlexE client 5. And further send the data stream 2 through the protection path. As an example, the communication device 2 can send the data stream 2 through the protection path according to the path protection switching indication information sent by the communication device 1. Figure 6 It is understood that after NE3 receives the data stream 2 sent by NE4 through the time slot included in P2 between NE3 and NE4, it can send the data stream 2 to NE2 through the time slot included in P2 between NE3 and NE3. Specifically, NE3 can map the data stream 2 received through the time slot included in P2 between NE3 and NE4 to the time slot included in P2 between NE3 and NE2 for transmission. In an example, all sub-time slots included in P2 between NE3 and NE2 are in working state. Therefore, when NE3 maps the data stream 2 received through the time slot included in P2 between NE4 and NE3 to the time slot included in P2 between NE3 and NE2, there is no need to perceive the small-grained time slot configuration, and large-grained time slot mapping can be performed at the large-grained level, and the processing overhead of the communication device 2 is small.

[0131] In an example, the aforementioned small-granule service 1 and small-granule service 2 may correspond to the same small-granule service. In this case, the solution of the embodiment of the present application may be used to achieve path symmetry of the uplink and downlink data flows corresponding to the small-granule service. Figure 6, taking the small-granularity service transmitted between NE3 and NE5 as an example. When NE3 sends the data flow corresponding to the small-granularity service to NE5, the forwarding path of the data flow is: NE3-NE4-NE5, wherein the data flow can be carried by the time slot occupied by W2 between NE3 and NE4, and by the time slot occupied by W2 between NE4 and NE5. When NE5 sends the data flow corresponding to the small-granularity service to NE3, the forwarding path of the data flow is: NE5-NE4-NE3, wherein the data flow can be carried by the time slot occupied by W1 between NE5 and NE4, and by the time slot occupied by W1 between NE4 and NE3.

[0132] The embodiment of the present application further provides a data processing method 300, which can be applied to a first communication device in a FlexE ring network. In one example, the method can be applied to the above method 100 or 200 to perform the operations performed by the communication device 1 in the above method 100 or 200.

[0133] See also Figure 7 , which is a flow chart of a data processing method provided in an embodiment of the present application. Figure 7 The method 300 shown, for example, may include the following S301 - S302 .

[0134] S301: receiving a first data stream of a first small-granularity service through a time slot occupied by a first flexible Ethernet client FlexE client.

[0135] The first FlexE client in method 300 may correspond to FlexE client 1 in method 100 ; the first small-granularity service in method 300 may correspond to small-granularity service 1 in method 100 ; and the first data flow in method 300 may correspond to data flow 1 in method 100 .

[0136] S302: In response to a failure of the first FlexE group between the first communication device and the second communication device in the FlexE ring network, based on a first time slot mapping relationship between the first FlexE client and the second FlexE client, send the first data stream to a third communication device in the FlexE ring network through the time slot occupied by the second FlexE client.

[0137] The second communication device in method 300 may correspond to the communication device 2 in method 100; the first FlexE group in method 300 may correspond to the FlexE group1 in method 100; the second FlexE client in method 300 may correspond to the FlexE client2 in method 100; the third communication device in method 300 may correspond to the communication device 3 in method 100.

[0138] in:

[0139] A second FlexE group is provided between the first communication device and the third communication device, the second FlexE group carries the second FlexE client, the time slot occupied by the second FlexE client is divided into multiple first sub-time slots, the multiple first sub-time slots are used to carry the first small-particle service, and the multiple first sub-time slots are all working time slots.

[0140] The second FlexE group in method 300 may correspond to FlexE group 2 in method 100 ; the first sub-timeslot in method 300 may correspond to sub-timeslot 1 in method 100 .

[0141] The first FlexE group is used to carry a third FlexE client, the time slot occupied by the third FlexE client is divided into multiple second sub-time slots, the multiple second sub-time slots are configured to carry the first small-granularity service, and the multiple second sub-time slots are all working time slots.

[0142] The third FlexE client in method 300 may correspond to FlexE client 3 in method 100 ; the second sub-timeslot in method 300 may correspond to sub-timeslot 2 in method 100 .

[0143] In a possible implementation manner, the method further includes: sending path protection switching indication information to the third communication device, where the path protection switching indication information instructs the third communication device to switch from the working path to the protection path.

[0144] In one possible implementation, sending path protection switching indication information to the third communication device includes: sending a FlexE operation, management and maintenance OAM message to the third communication device through the time slot occupied by the second FlexE client, and the automatic protection switching APS code block in the FlexE OAM message is used to carry the path protection switching indication information.

[0145] In one possible implementation, the method also includes: receiving a second data stream of the first small-particle service through the time slot occupied by the first FlexE client; in response to the failure recovery of the first FlexE group, based on the second time slot mapping relationship between the first FlexE client and the third FlexE client, sending the second data stream to the second communication device through the time slot occupied by the third FlexE client.

[0146] The second data stream in method 300 may correspond to data stream 2 in method 100 .

[0147] In a possible implementation, the method further includes:

[0148] Receive the third data stream of the second small-granularity service through the time slot occupied by the fourth FlexE client; in response to the failure of the third FlexE group between the first communication device and the third communication device in the FlexE ring network, based on the third time slot mapping relationship between the fourth FlexE client and the fifth FlexE client, send the third data stream to the second communication device in the FlexE ring network through the time slot occupied by the fifth FlexE client.

[0149] The fourth FlexE client in the method 300 may correspond to FlexE client4 in the method 200; the second small-granularity service in the method 300 may correspond to the small-granularity service 2 in the method 200; the third FlexE group in the method 300 may correspond to FlexE group3 in the method 200; the fifth FlexE client in the method 300 may correspond to FlexE client5 in the method 200;

[0150] in:

[0151] A fourth FlexE group is provided between the first communication device and the second communication device, and the fourth FlexE group carries the fifth FlexE client. The time slot occupied by the fifth FlexE client is divided into multiple third sub-time slots, and the multiple third sub-time slots are used to carry the second small-granularity service. The multiple third sub-time slots are all working time slots.

[0152] The third FlexE group is used to carry the sixth FlexE client, the time slot occupied by the sixth FlexE client is divided into multiple fourth sub-time slots, the multiple fourth sub-time slots are configured to carry the second small-granularity service, and the multiple fourth sub-time slots are all working time slots.

[0153] The fourth FlexE group in method 300 can correspond to FlexE group 4 in method 200; the third sub-timeslot in method 300 can correspond to sub-timeslot 3 in method 200; the sixth FlexE client in method 300 can correspond to FlexE client 6 in method 200; the fourth sub-timeslot in method 300 can correspond to sub-timeslot 4 in method 200.

[0154] In a possible implementation manner, the first small-granularity service and the second small-granularity service belong to the same small-granularity service.

[0155] In a possible implementation, the first FlexE group is a FlexE group on a working path, and the second FlexE group is a FlexE group on a protection path.

[0156] The embodiment of the present application also provides a data processing method 400, which can be applied to a first communication device in a FlexE ring network. In one example, the method can be applied to the above method 100 or 200, and is used to perform the operations performed by the communication device 2 or the communication device 3 in the above method 100 or 200. When the method 400 is applied to the above method 100, the first communication device in the method 400 can correspond to the communication device 3 in the method 100; when the method 400 is applied to the above method 200, the first communication device in the method 400 can correspond to the communication device 2 in the method 200.

[0157] See also Figure 8 , which is a flow chart of another data processing method provided in an embodiment of the present application. Figure 8 The method 400 shown, for example, may include the following S401 - S402 .

[0158] S401: Receive a first data stream of a first small-particle service sent by a second communication device through a time slot occupied by a first flexible Ethernet client FlexE client; wherein: a first FlexE group is provided between the second communication device and the first communication device, the first FlexE group carries the first FlexE client, the time slot occupied by the first FlexE client is divided into a plurality of first sub-time slots, the plurality of first sub-time slots are used to carry the first small-particle service, and the plurality of first sub-time slots are all working time slots.

[0159] When the method 400 is applied to the above method 100: the first FlexE client in the method 400 can correspond to FlexE client2 in the method 100; the second communication device in the method 400 can correspond to the communication device 1 in the method 100; the first FlexE group in the method 400 can correspond to FlexE group2 in the method 100; the first small-grained service in the method 400 can correspond to the small-grained service 1 in the method 100; the first data stream in the method 400 can correspond to the data stream 1 in the method 100; the first sub-timeslot in the method 400 can correspond to the sub-timeslot 1 in the method 100.

[0160] When the method 400 is applied to the above method 200: the first FlexE client in the method 400 can correspond to FlexE client 4 in the method 200; the second communication device in the method 400 can correspond to the communication device 1 in the method 100; the first FlexE group in the method 400 can correspond to FlexE group 5 in the method 200; the first small-grained service in the method 400 can correspond to the small-grained service 2 in the method 200; the first data stream in the method 400 can correspond to the data stream 3 in the method 200; the first sub-timeslot in the method 400 can correspond to the sub-timeslot 3 in the method 200.

[0161] S402: Send the first data flow through a protection path.

[0162] In a possible implementation manner, the method further includes: receiving path protection switching indication information sent by the second communication device, where the path protection switching indication information instructs the first communication device to switch from the working path to the protection path.

[0163] In one possible implementation, receiving the path protection switching indication information sent by the second communication device includes: receiving the FlexE operation, management and maintenance OAM message sent by the second communication device through the time slot occupied by the first FlexE client, and the automatic protection switching APS code block in the FlexE OAM message is used to carry the path protection switching indication information.

[0164] In a possible implementation manner, sending the first data flow through the protection path includes: sending the first data flow through the protection path according to the path protection switching indication information.

[0165] For the specific implementation of the method 300 and the method 400, reference may be made to the above description of the method 100 and the method 200, which will not be repeated here.

[0166] An embodiment of the present application provides a first communication device, which includes: a transceiver unit and / or a processing unit; the transceiver unit is used to perform the receiving and / or sending operations performed by the first communication device as described in any one of the above method embodiments; the processing unit is used to perform operations other than the receiving and / or sending operations performed by the first communication device as described in any one of the above method embodiments.

[0167] In a specific example, see Fig. 9 , Fig. 9 A schematic diagram of the structure of a first communication device provided in an embodiment of the present application. Fig. 9 The first communication device shown may include a receiving unit 901 and a sending unit 902 .

[0168] As an example:

[0169] The receiving unit 901 is configured to receive a first data stream of a first small-granularity service through a time slot occupied by a first flexible Ethernet client FlexE client;

[0170] The sending unit 902 is configured to send the first data stream to a third communication device in the FlexE ring network through a time slot occupied by the second FlexE client based on a first time slot mapping relationship between the first FlexE client and the second FlexE client in response to a failure of a first FlexE group between the first communication device and the second communication device in the FlexE ring network, wherein:

[0171] A second FlexE group is provided between the first communication device and the third communication device, and the second FlexE group carries the second FlexE client. The time slot occupied by the second FlexE client is divided into multiple first sub-time slots, and the multiple first sub-time slots are used to carry the first small-particle service, and the multiple first sub-time slots are all working time slots; the first FlexE group is used to carry the third FlexE client, and the time slot occupied by the third FlexE client is divided into multiple second sub-time slots, and the multiple second sub-time slots are configured to carry the first small-particle service, and the multiple second sub-time slots are all working time slots.

[0172] In a possible implementation manner, the sending unit 902 is further configured to: send path protection switching indication information to the third communication device, where the path protection switching indication information instructs the third communication device to switch from a working path to a protection path.

[0173] In a possible implementation, the sending unit 902 is specifically used to send a FlexE operation, management and maintenance OAM message to the third communication device through the time slot occupied by the second FlexEclient, and the automatic protection switching APS code block in the FlexE OAM message is used to carry the path protection switching indication information.

[0174] In a possible implementation, the receiving unit 901 is further used to: receive the second data stream of the first small-particle service through the time slot occupied by the first FlexE client; the sending unit 902 is also used to respond to the failure recovery of the first FlexE group, based on the second time slot mapping relationship between the first FlexE client and the third FlexE client, and send the second data stream to the second communication device through the time slot occupied by the third FlexE client.

[0175] In a possible implementation, the receiving unit 901 is further used to receive a third data stream of a second small-particle service through a time slot occupied by a fourth FlexE client; the sending unit 902 is further used to respond to a third FlexE group failure between the first communication device and the third communication device in the FlexE ring network, and based on a third time slot mapping relationship between the fourth FlexE client and the fifth FlexE client, send the third data stream to the second communication device in the FlexE ring network through a time slot occupied by the fifth FlexE client, wherein: a fourth FlexE group is provided between the first communication device and the second communication device, the fourth FlexE group carries the fifth FlexE client, the time slot occupied by the fifth FlexE client is divided into a plurality of third sub-time slots, the plurality of third sub-time slots are used to carry the second small-particle service, and the plurality of third sub-time slots are all working time slots; the third FlexE group is used to carry a sixth FlexE client, the time slot occupied by the sixth FlexE client is divided into a plurality of fourth sub-time slots, the plurality of fourth sub-time slots are configured to carry the second small-particle service, and the plurality of fourth sub-time slots are all working time slots.

[0176] In a possible implementation manner, the first small-granularity service and the second small-granularity service belong to the same small-granularity service.

[0177] In a possible implementation, the first FlexE group is a FlexE group on a working path, and the second FlexE group is a FlexE group on a protection path.

[0178] As another example:

[0179] The receiving unit 901 is configured to receive a first data stream of a first small-granularity service sent by a second communication device through a time slot occupied by a first flexible Ethernet client FlexE client; wherein: a first FlexE group is provided between the second communication device and the first communication device, the first FlexE group carries the first FlexE client, the time slot occupied by the first FlexE client is divided into a plurality of first sub-time slots, the plurality of first sub-time slots are used to carry the first small-granularity service, and the plurality of first sub-time slots are all working time slots;

[0180] The sending unit 902 is configured to send the first data stream through a protection path.

[0181] In a possible implementation, the receiving unit 901 is further configured to: receive path protection switching indication information sent by the second communication device, where the path protection switching indication information instructs the first communication device to switch from the working path to the protection path.

[0182] In a possible implementation, the receiving unit 901 is specifically used to: receive the FlexE operation, management and maintenance OAM message sent by the second communication device through the time slot occupied by the first FlexEclient, and the automatic protection switching APS code block in the FlexE OAM message is used to carry the path protection switching indication information.

[0183] In a possible implementation manner, the sending unit 902 is specifically configured to: send the first data flow through the protection path according to the path protection switching indication information.

[0184] like Fig.10 As shown, the communication device 1000 includes a processing circuit 1010 and an interface circuit 1020. The processing circuit 1010 and the interface circuit 1020 are coupled to each other. It is understood that the interface circuit 1020 can be a transceiver or an input-output interface. Optionally, the communication device 1000 may also include a memory for storing instructions executed by the processing circuit or storing input data required for the processing circuit 1010 to execute instructions or storing data generated after the processing circuit 1010 executes instructions.

[0185] When the communication device 1000 is used to implement method 100, method 200, method 300 or method 400, the interface circuit 1020 is used to implement the functions of the receiving unit 901 and the sending unit 902 corresponding to the first communication device 900; the processing circuit 1010 is used to implement other functions implemented by the first communication device 900 except for the functions of the receiving unit 901 and the sending unit 902.

[0186] like Fig.11 As shown, the communication device 1100 includes a processor 1110 and a communication interface 1120. The processor 1110 and the communication interface 1120 are coupled to each other. It is understood that the communication interface 1120 can be a transceiver or an input-output interface. Optionally, the communication device 1100 may also include a memory 1130 for storing instructions executed by the processor 1110 or storing input data required by the processor 1110 to execute instructions or storing data generated after the processor 1110 executes instructions.

[0187] When the communication device 1100 is used to implement method 100, method 200, method 300 or method 400, the communication interface 1120 is used to implement the functions of the receiving unit 901 and the sending unit 902 corresponding to the first communication device 900, and the processor 1110 is used to implement other functions implemented by the first communication device 900 except for the functions of the receiving unit 901 and the sending unit 902.

[0188] When the above communication device (such as the first communication device 900, the communication device 1000, and the communication device 1100) is a chip applied to a communication device, the communication device chip implements the function of the communication device in the above method embodiment. The communication device chip receives information from other modules (such as a radio frequency module or an antenna) in the communication device, and the information is sent to the communication device chip by other communication devices; or the communication device chip sends information to other modules (such as a radio frequency module or an antenna) in the communication device, and the information is sent by the communication device to other communication device chips.

[0189] It is understandable that the processor in the embodiment of the present application can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. The general-purpose processor can be a microprocessor or any conventional processor.

[0190] The present application also provides a computer-readable storage medium, which stores instructions. When the computer-readable storage medium is executed on a computer, the computer executes any one or more operations of the methods described in the aforementioned embodiments (e.g., method 100, method 200, method 300, or method 400).

[0191] The present application also provides a computer program product, including a computer program, which, when executed on a computer, enables the computer to perform any one or more operations of the methods described in the aforementioned embodiments (eg, method 100, method 200, method 300, or method 400).

[0192] The present application also provides a communication system. In one example, the communication system may include the communication device 1 and the communication device 3 in the above method 100. In another example, the communication system may include the communication device 1 and the communication device 2 in the above method 200. In another example, the communication system may include the first communication device in the above method 300 and the first communication device in the above method 400.

[0193] According to the method provided by the present application, the present application also provides a chip system, which may include a processor. The processor is coupled to a memory and can be used for the above method 100, method 200, method 300 or method 400. Optionally, the chip system also includes a memory. The memory is used to store a computer program (also referred to as code, or instruction). The processor is used to call and run a computer program from the memory so that a device equipped with the chip system executes the above method 100, method 200, method 300 or method 400.

[0194] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0195] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0196] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of units is only a logical business division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0197] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0198] In addition, each business unit in each embodiment of the present application can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software business units.

[0199] If the integrated unit is implemented in the form of a software business unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0200] Those skilled in the art will appreciate that in one or more of the above examples, the services described in the present invention may be implemented using hardware, software, firmware, or any combination thereof. When implemented using software, the services may be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein communication media include any media that facilitates the transmission of computer programs from one place to another. Storage media may be any available media that can be accessed by a general-purpose or special-purpose computer.

[0201] The above specific implementation modes further describe the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above are only specific implementation modes of the present invention.

[0202] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A data processing method, characterized in that: A first communication device applied to a Flexible Ethernet FlexE ring network, the method comprising: Receiving a first data stream of a first small-granularity service through a time slot occupied by a first flexible Ethernet client FlexE client; In response to a failure of a first FlexE group between a first communication device and a second communication device in the FlexE ring network, based on a first time slot mapping relationship between the first FlexE client and the second FlexE client, the first data stream is sent to a third communication device in the FlexE ring network through a time slot occupied by the second FlexE client, wherein: A second FlexE group is provided between the first communication device and the third communication device, the second FlexE group carries the second FlexE client, the timeslot occupied by the second FlexE client is divided into a plurality of first sub-timeslots, the plurality of first sub-timeslots are used to carry the first small-granularity service, and the plurality of first sub-timeslots are all working timeslots; The first FlexE group is used to carry a third FlexE client, the time slot occupied by the third FlexE client is divided into multiple second sub-time slots, the multiple second sub-time slots are configured to carry the first small-granularity service, and the multiple second sub-time slots are all working time slots.

2. The method according to claim 1, characterized in that The method further comprises: Path protection switching indication information is sent to the third communication device, where the path protection switching indication information instructs the third communication device to switch from the working path to the protection path.

3. The method according to claim 2, characterized in that The sending the path protection switching indication information to the third communication device includes: A FlexE operation, administration and maintenance OAM message is sent to the third communication device through the time slot occupied by the second FlexE client, and the automatic protection switching APS code block in the FlexE OAM message is used to carry the path protection switching indication information.

4. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: receiving a second data stream of the first small-granularity service through the timeslot occupied by the first FlexE client; In response to the failure recovery of the first FlexE group, based on the second time slot mapping relationship between the first FlexE client and the third FlexE client, the second data stream is sent to the second communication device through the time slot occupied by the third FlexE client.

5. The method according to claim 1, characterized in that: The method further comprises: receiving a third data stream of a second small-granularity service through a timeslot occupied by a fourth FlexE client; In response to a third FlexE group failure between the first communication device and the third communication device in the FlexE ring network, based on a third time slot mapping relationship between the fourth FlexE client and the fifth FlexE client, the third data stream is sent to the second communication device in the FlexE ring network through the time slot occupied by the fifth FlexE client, wherein: A fourth FlexE group is provided between the first communication device and the second communication device, the fourth FlexE group carries the fifth FlexE client, the timeslot occupied by the fifth FlexE client is divided into a plurality of third sub-timeslots, the plurality of third sub-timeslots are used to carry the second small-granularity service, and the plurality of third sub-timeslots are all working timeslots; The third FlexE group is used to carry the sixth FlexE client, the time slot occupied by the sixth FlexE client is divided into multiple fourth sub-time slots, the multiple fourth sub-time slots are configured to carry the second small-granularity service, and the multiple fourth sub-time slots are all working time slots.

6. The method according to claim 5, characterized in that The first small particle service and the second small particle service belong to the same small particle service.

7. The method according to any one of claims 1 to 6, characterized in that: The first FlexE group is a FlexE group on a working path, and the second FlexE group is a FlexE group on a protection path.

8. A data processing method, characterized in that: A first communication device applied to a FlexE ring network, the method comprising: receiving a first data stream of a first small-grained service sent by a second communication device through a time slot occupied by a first flexible Ethernet client FlexE client; wherein: a first FlexE group is provided between the second communication device and the first communication device, the first FlexE group carries the first FlexE client, the time slot occupied by the first FlexE client is divided into a plurality of first sub-time slots, the plurality of first sub-time slots are used to carry the first small-grained service, and the plurality of first sub-time slots are all working time slots; The first data flow is sent through a protection path.

9. The method according to claim 8, characterized in that The method further comprises: Receiving path protection switching indication information sent by the second communication device; According to the path protection switching indication information, the working path is switched to the protection path.

10. The method according to claim 9, characterized in that Receiving the path protection switching indication information sent by the second communication device, including: The FlexE operation, administration and maintenance OAM message sent by the second communication device is received through the time slot occupied by the first FlexE client, and the automatic protection switching APS code block in the FlexE OAM message is used to carry the path protection switching indication information.

11. A first communication device, characterized in that: The device comprises: A receiving unit and a sending unit; The transceiver unit is used to perform the receiving operation performed by the first communication device as described in any one of claims 1 to 7, and the sending unit is used to perform the sending operation performed by the first communication device as described in any one of claims 1 to 7; or The transceiver unit is used to perform the receiving operation performed by the first communication device as described in any one of claims 8-10, and the sending unit is used to perform the sending operation performed by the first communication device as described in any one of claims 8-10.

12. A communication device, characterized in that: include: A communication interface and a processor. According to the communication interface and the processor, the communication device executes the method according to any one of claims 1 to 10.

13. A communication system, characterized in that: The system comprises: A first communication device that executes the method described in any one of claims 1 to 7 and a first communication device that executes the method described in any one of claims 8 to 10.

Citation Information

Patent Citations

  • FlexE service processing method, FlexE service processing device and electronic equipment

    CN111107641A

  • Data transmission method and device

    CN113972997A

  • Data transmission method and device, electronic equipment and computer readable medium

    CN114125019A

Cited By

  • Rapid self-healing method and system based on AI prediction and T-RMR

    CN120956617A