CN115484207A - Communication method, device and system - Google Patents

Communication method, device and system Download PDF

Info

Publication number
CN115484207A
CN115484207A CN202110661342.8A CN202110661342A CN115484207A CN 115484207 A CN115484207 A CN 115484207A CN 202110661342 A CN202110661342 A CN 202110661342A CN 115484207 A CN115484207 A CN 115484207A
Authority
CN
China
Prior art keywords
packet
code block
code blocks
pseudowire
physical interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110661342.8A
Other languages
Chinese (zh)
Inventor
江元龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202110661342.8A priority Critical patent/CN115484207A/en
Priority to PCT/CN2022/097294 priority patent/WO2022262614A1/en
Publication of CN115484207A publication Critical patent/CN115484207A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/43Assembling or disassembling of packets, e.g. segmentation and reassembly [SAR]

Abstract

A communication method, a device and a system belong to the technical field of communication. The method comprises the following steps: after receiving the plurality of code blocks sent by the second device, the first device obtains a first packet encapsulated based on the first pseudo wire according to at least one of the plurality of code blocks, and sends the first packet to the third device through the first pseudo wire. Wherein the first packet comprises the at least one code block or an identity of each of the at least one code block. By the method, the first device can send the at least one code block to the third device through the first pseudo wire, and in the process, the first device does not obtain the MAC frame according to the received code block, and the third device does not need to recover the code block according to the MAC frame, so that the communication efficiency is improved.

Description

Communication method, device and system
Technical Field
The present application relates to the field of communications technologies, and in particular, to a communication method, apparatus, and system.
Background
Pseudowires (PWs) are point-to-point connections established between edge devices of a packet network, and devices outside the packet network can communicate over pseudowires. Illustratively, an Edge device in a packet network is also called a Provider Edge (PE) device (abbreviated as PE), and the PE is connected to a plurality of Customer Edge (CE) devices (abbreviated as CEs) outside the packet network, and these CEs can communicate with each other through a pseudo wire between the PEs.
As shown in fig. 1, it is assumed that CE1 and CE2 can communicate over pseudowire 1 between PE1 and PE2, and that CE1 connects PE1 and CE2 connects PE2. When CE1 communicates with CE2, CE1 may obtain Physical (PHY) layer data according to a Media Access Control (MAC) frame to be transmitted, and transmit the PHY layer data to PE1.PE1 may obtain a MAC frame from the received PHY layer data, encapsulate the MAC frame based on pseudowire 1 to obtain packet 1, and then send packet 1 to PE2 over pseudowire 1 between PE1 and PE2. After receiving the packet 1, the PE2 decapsulates the packet 1 to obtain the MAC frame, obtains PHY layer data according to the MAC frame, and sends the PHY layer data to the CE2, so that the CE2 obtains the MAC frame according to the PHY layer data. In this way, CE1 transmits the MAC frame to CE2 over pseudowire 1 between PE1 and PE2.
However, the delay of pseudo-wire communication between CEs through PEs is high, and the communication efficiency is low.
Disclosure of Invention
The application provides a communication method, a device and a system, which can solve the problems of higher time delay and lower communication efficiency of pseudo-wire communication between CEs through PE, and the technical scheme is as follows:
in a first aspect, the present application provides a communication method performed by a first apparatus, which may include: after receiving the plurality of code blocks sent by the second device, the first device obtains a first packet based on a first pseudo wire package according to at least one of the plurality of code blocks, and sends the first packet to the third device through the first pseudo wire. The first packet includes the identity of the at least one code block or each of the at least one code block.
With the method provided by the present application, the first device transmits the at least one code block to the third device over the first pseudowire. In addition, in the process, the first device does not obtain the MAC frame according to the received code block, and the third device does not need to restore the code block according to the MAC frame, so that the communication efficiency is improved.
Moreover, according to the communication method provided by the application, at least one code block is transmitted through, and the first device and the third device do not modify the code block, so that the security of the code block transmitted between the first device and the third device is high.
In addition, since the first device does not need to obtain a MAC frame according to the code block, and the third device does not need to restore the code block according to the MAC frame, the first device does not delete the received control code block and overhead code block, and the third device does not restore the control code block and overhead code block deleted by the first device, which simplifies the operations of the first device and the third device.
In the communication method provided by the present application, a first device needs to determine a first pseudowire in a process of obtaining a first packet encapsulated based on the first pseudowire according to at least one of a plurality of code blocks. There are various ways in which the first device determines the first pseudowire, two of which will be explained below as examples.
In the first mode, a first device is connected with a second device through a first physical interface, and the physical interface in the first device has a mapping relation with a pseudo wire; the first apparatus may receive, from the first physical interface, the plurality of code blocks transmitted by the second apparatus when receiving the plurality of code blocks transmitted by the second apparatus. When obtaining a first packet encapsulated based on a first pseudo wire according to at least one of the plurality of code blocks, the first device may determine the first pseudo wire according to a mapping relationship between the first physical interface and the first pseudo wire, and then obtain the first packet encapsulated based on the first pseudo wire according to at least one of the plurality of code blocks.
The first physical interface may be any physical interface, for example, the first physical interface is a Flexible Ethernet (FlexE) physical interface, an Ethernet physical interface, or the like.
In the second approach, a mapping relationship exists between a flexible ethernet client (FlexE client) and the pseudowire. When the first device obtains the first packet encapsulated based on the first pseudo wire according to at least one of the code blocks, the first device may first determine a first FlexE client corresponding to the code blocks, and then determine the first pseudo wire according to a mapping relationship between the first FlexE client and the first pseudo wire.
In this second manner, the first device and the second device may be connected through any kind of physical interface, for example, the first device is connected with the second device through at least one FlexE physical interface, and in this case, the first device may receive the plurality of code blocks sent by the second device through the at least one FlexE physical interface. Of course, the first device and the second device may also be connected through other physical interfaces, for example, an ethernet physical interface or a Metro Transport Network (MTN) physical interface, which is not limited in this embodiment of the present application.
In a second aspect, the present application provides another communication method performed by a first apparatus, which may include: the first device obtains a first packet encapsulated based on the first pseudo wire according to at least one code block of the plurality of code blocks after receiving the plurality of code blocks transmitted by the second device, and transmits the first packet to the third device through the first pseudo wire. Wherein the first device does not derive the MAC frame from the plurality of code blocks before deriving the first packet after receiving the plurality of code blocks.
As can be seen from the above, after the first device receives the plurality of code blocks and before the first packet is obtained, the first device does not obtain the MAC frame according to the plurality of code blocks, that is, the first device does not perform processing of a MAC layer, a Multi-Protocol Label Switching (MPLS) layer or an Internet Protocol (IP) layer on the plurality of code blocks, but obtains the first packet encapsulated by the first pseudo wire according to at least one of the plurality of code blocks, so that the problem of high delay caused by the processing procedure of obtaining the MAC frame according to the plurality of code blocks is avoided.
In a third aspect, the present application provides another communication method performed by a first apparatus, in which the first apparatus is connected to a second apparatus through a first physical interface; the communication method may include: after receiving the plurality of code blocks sent by the second device from the first physical interface, the first device determines a first pseudo wire according to the mapping relation between the first physical interface and the first pseudo wire; thereafter, the first apparatus may obtain a first packet encapsulated based on the first pseudowire from at least one of the plurality of code blocks and transmit the first packet to the third apparatus through the first pseudowire. Wherein the first packet comprises the at least one code block or an identity of each of the at least one code block.
Optionally, the first physical interface is any one of physical interfaces, such as a FlexE physical interface, an ethernet physical interface, and the like.
In a fourth aspect, the present application provides another communication method performed by a first apparatus, which may include: after receiving the plurality of code blocks sent by the second device, the first device determines first Flexe clients corresponding to the plurality of code blocks, and determines a first pseudo wire according to the mapping relation between the first Flexe clients and the first pseudo wire; the first apparatus may then obtain a first packet based on a first pseudowire encapsulation from at least one of the plurality of code blocks, the first packet including the at least one code block or an identity of each of the at least one code block; finally, the first apparatus may transmit the first packet to the third apparatus through the first pseudo-line.
Optionally, the first apparatus is connected to the second apparatus through at least one FlexE physical interface, and when receiving the plurality of code blocks sent by the second apparatus, the first apparatus may receive the plurality of code blocks sent by the second apparatus through the at least one FlexE physical interface. Of course, the first device and the second device may also be connected through other physical interfaces, for example, an ethernet physical interface or an MTN physical interface, which is not limited in this embodiment of the present application.
Optionally, in any one of the methods provided in the first to fourth aspects above, the method performed by the first apparatus further includes determining that the at least one code block is included in the payload of the first packet. At this time, the first apparatus may encapsulate the at least one code block based on the first pseudo wire to obtain a first packet, and a structure of the encapsulated code block is not changed in the process of encapsulating to obtain the first packet. When the first packet includes the identities of each of the at least one code block, it may also be that the payload of the first packet includes the identities, or that the portion of the first packet other than the payload includes the identities.
Optionally, in any one of the methods provided in the first to fourth aspects above, the first packet includes the first indication information, for example, a control word of the first pseudowire in the first packet includes the first indication information. The first indication information is used to indicate that the first pseudowire is used to carry at least one code block or an identity of each of the at least one code block. The third apparatus may detect whether the first packet includes the first indication information after receiving the first packet, and obtain the at least one code block from the first packet when the first packet includes the first indication information.
Optionally, in any one of the methods provided in the first to fourth aspects, the method performed by the first apparatus further includes determining that the at least one code block is a part of the plurality of control code blocks of the first type when the plurality of code blocks includes a plurality of control code blocks of the first type received consecutively. For example, the at least one code block is a first (or first and second, etc.) received control code block of the plurality of control code blocks of the first type. In this case, the third apparatus may continue to transmit the control code block of the first type to the fourth apparatus after receiving the first packet and before receiving a second packet different from the first packet.
In this way, although the first packet includes only part of the plurality of control code blocks of the first type, since the third apparatus continues to transmit the control code blocks of the first type to the fourth apparatus before receiving the second packet, it is possible to increase the number of control code blocks of the first type transmitted from the third apparatus to the fourth apparatus, and thus to enable the third apparatus to transmit the plurality of control code blocks of the first type to the fourth apparatus. It can be seen that the first packet includes only a portion of the plurality of control code blocks of the first type and does not affect the third device from transmitting the plurality of control code blocks of the first type to the fourth device, so that the code blocks can be completely transmitted from the second device to the fourth device.
In addition, the first packet only needs to include part of the control code blocks in the plurality of control code blocks of the first type, so that the amount of data transmitted between the first device and the third device is reduced, the load of the first pseudo wire between the first device and the third device is reduced, and the transmission efficiency of the first packet is improved.
Further, in any of the methods provided in the first through fourth aspects above performed by the first apparatus, the first packet includes the second indication information, e.g., the control word of the first pseudowire in the first packet includes the second indication information and the control word of the first pseudowire in the second packet includes the third indication information.
The second indication information is used for indicating the third device to: the first type of control code block is continuously transmitted to the fourth apparatus until a second packet is received, the second packet being different from the first packet. The fourth device here may be CE2 in the above-described embodiment. In this case, the third apparatus may continuously transmit the control code block of the first type to the fourth apparatus according to the second indication information in the first packet.
Still further, any one of the methods provided by the first to fourth aspects above performed by the first apparatus further includes: the first device encapsulates a second packet based on the first pseudowire, the second packet including third indication information for indicating to the third device: stopping transmitting the control code block of the first type to the fourth apparatus; then, the first device determines a target duration according to the number of control code blocks except for a part of the control code blocks in the plurality of control code blocks of the first type; finally, the first device sends a second packet to the third device through the first pseudo-line a target duration after sending the first packet to the third device. The third device may stop transmitting the control code block of the first type to the fourth device according to the third indication information in the second packet after receiving the second packet.
In a fifth aspect, the present application provides a communication method performed by a third apparatus, which may include: the third device receives a first packet sent by the first device through a first pseudo wire between the first device and the third device; wherein the first packet comprises at least one code block of the plurality of code blocks or an identity of each of the at least one code block; thereafter, the third apparatus obtains at least one code block from the first packet.
Optionally, the third apparatus may further transmit the at least one code block to the fourth apparatus after obtaining the at least one code block from the first packet.
Optionally, the first packet includes first indication information indicating that the first pseudowire is used to carry the at least one code block or an identity of each of the at least one code block. The third apparatus may obtain the at least one code block according to the first indication information.
Optionally, the plurality of code blocks include a plurality of control code blocks of a first type received consecutively; the at least one code block is a partial control code block of the plurality of control code blocks of the first type. At this time, the third apparatus may continuously transmit the control code block of the first type to the fourth apparatus before receiving the second packet. The second packet is different from the first packet, e.g., the second packet is another packet that the third device receives after receiving the first packet. Optionally, the first packet contains different content than the second packet.
In this way, although the first packet includes only some of the plurality of control code blocks of the first type, the third apparatus continues to transmit the control code blocks of the first type to the fourth apparatus until the third apparatus receives the second packet, and therefore, the number of control code blocks of the first type transmitted to the fourth apparatus by the third apparatus can be increased, and the third apparatus can transmit the plurality of control code blocks of the first type to the fourth apparatus. It can be seen that the first packet includes only a portion of the plurality of control code blocks of the first type and does not affect the third device from transmitting the plurality of control code blocks of the first type to the fourth device, so that the code blocks can be completely transmitted from the second device to the fourth device.
In addition, the first packet only needs to include part of the control code blocks in the plurality of control code blocks of the first type, so that the amount of data transmitted between the first device and the third device is reduced, the load of the first pseudo wire between the first device and the third device is reduced, and the transmission efficiency of the first packet is improved.
Further, the first packet includes second indication information for indicating the third apparatus to: continuously transmitting a control code block of the first type to the fourth apparatus before receiving the second packet; the third apparatus may continuously transmit the control code blocks of the first type to the fourth apparatus according to the second indication information.
Optionally, the third apparatus may further receive a second packet sent by the first apparatus through the first pseudowire, where the second packet includes third indication information, and the third indication information is used to instruct the third apparatus to: stopping transmitting the control code block of the first type to the fourth apparatus; thereafter, the third apparatus may stop transmitting the control code block of the first type to the fourth apparatus according to the third indication information.
In a sixth aspect, the present application provides a communication device, which may be, for example, a first device. The communication apparatus includes: the device comprises a receiving module, a first packaging module and a first sending module.
The receiving module is used for receiving a plurality of code blocks sent by the second device; the first encapsulation module is configured to obtain a first packet encapsulated based on a first pseudo-wire according to at least one of the plurality of code blocks. A first transmitting module is configured to transmit the first packet to a third apparatus over the first pseudowire.
The first packet includes the identity of the or each of the at least one code block. When the first packet includes the at least one code block, the payload of the first packet includes the at least one code block. When the first packet includes the identities of each of the at least one code block, it may also be that the payload of the first packet includes the identities, or that the portion of the first packet other than the payload includes the identities.
The first device needs to determine a first pseudowire in obtaining a first packet encapsulated based on the first pseudowire from at least one of the plurality of code blocks. There are various ways in which the first device determines the first pseudowire, two of which will be explained below as examples.
In a first mode, the first device is connected with the second device through a first physical interface; the receiving module is configured to receive the plurality of code blocks sent by the second apparatus from the first physical interface; the first encapsulation module is used for determining the first pseudo wire according to the mapping relation between the first physical interface and the first pseudo wire. The first physical interface may be any kind of physical interface, for example, the first physical interface is a FlexE physical interface, an ethernet physical interface, or the like.
In a second manner, the first package module is configured to: and determining first Flexe clients corresponding to the code blocks, and determining the first pseudo wire according to the mapping relation between the first Flexe clients and the first pseudo wire. Optionally, the first apparatus may be connected to the second apparatus through at least one FlexE physical interface, in which case the receiving module may be configured to receive the plurality of code blocks sent by the second apparatus through the at least one FlexE physical interface.
In a seventh aspect, the present application provides another communication device, which may be, for example, a first device. The communication device includes: the device comprises a receiving module, a packaging module and a sending module. The receiving module is configured to receive a plurality of code blocks sent by a second apparatus; the encapsulation module is used for obtaining a first packet encapsulated based on a first pseudo wire according to at least one code block in the plurality of code blocks; wherein after receiving the plurality of code blocks, the first apparatus does not derive a MAC frame from the plurality of code blocks prior to deriving the first packet; the transmitting module is configured to transmit the first packet to a third apparatus through the first pseudo-wire.
In an eighth aspect, the present application provides another communication device, which may be, for example, a first device. The communication device is connected to the second device through a first physical interface, which may be any kind of physical interface, for example, the first physical interface is a FlexE physical interface, an ethernet physical interface, or the like. The communication device includes: the device comprises a receiving module, a determining module, a packaging module and a sending module. Wherein the receiving module is configured to receive, from the first physical interface, a plurality of code blocks transmitted by the second apparatus; the determining module is used for determining the first pseudo wire according to the mapping relation between the first physical interface and the first pseudo wire. The encapsulation module is configured to obtain a first packet encapsulated based on the first pseudo-wire according to at least one of the code blocks, where the first packet includes the at least one code block or an identity of each of the at least one code block. The transmitting module is configured to transmit the first packet to a third apparatus through the first pseudo-wire.
In a ninth aspect, the present application provides another communication device, which may be, for example, a first device. The communication device includes: the device comprises a receiving module, a first determining module, a second determining module, a packaging module and a sending module. Wherein the receiving module is configured to receive a plurality of code blocks transmitted by the second apparatus; the first determining module is used for determining a first Flexe client corresponding to the plurality of code blocks; the second determining module is used for determining the first pseudo wire according to the mapping relation between the first Flexe client and the first pseudo wire; the encapsulation module is used for obtaining a first packet encapsulated based on the first pseudo wire according to at least one code block in the plurality of code blocks, wherein the first packet comprises the at least one code block or the identifier of each code block in the at least one code block; the transmitting module is configured to transmit the first packet to a third apparatus through the first pseudowire.
Optionally, the first device is connected with the second device through at least one FlexE physical interface; the receiving module is configured to receive the plurality of code blocks sent by the second apparatus through the at least one FlexE physical interface.
Optionally, in any one of the communications apparatuses provided in the sixth aspect to the ninth aspect above, the first packet includes the first indication information, for example, a control word of the first pseudowire in the first packet includes the first indication information. The first indication information is used to indicate that the first pseudowire is used to carry the at least one code block or an identity of each of the at least one code block. The third apparatus may detect whether the first packet includes the first indication information after receiving the first packet, and obtain the at least one code block from the first packet when the first packet includes the first indication information.
Optionally, in any one of the communication apparatuses provided in the sixth to ninth aspects above, the plurality of code blocks includes a plurality of control code blocks of the first type received consecutively; the at least one code block is a partial control code block of the plurality of control code blocks of the first type. For example, the at least one code block is a first (or first and second, etc.) received control code block of the plurality of control code blocks of the first type. In this case, the third apparatus may continue to transmit the control code block of the first type to the fourth apparatus after receiving the first packet and before receiving a second packet different from the first packet.
Optionally, in any one of the communication apparatuses provided in the sixth to ninth aspects above, the first packet includes second indication information for indicating the third apparatus to: the method further includes continuing to transmit the control code block of the first type to a fourth apparatus before receiving a second packet, the second packet being different from the first packet. In this case, the third apparatus may continuously transmit the control code blocks of the first type to the fourth apparatus according to the second indication information in the first packet.
Optionally, in any one of the communication devices provided in the sixth to ninth aspects above, the communication device further comprises: the device comprises a second packaging module, a determining module and a second sending module. A second encapsulation module to encapsulate the second packet based on the first pseudowire, the second packet including third indication information to instruct the third apparatus to: stopping transmitting the control code block of the first type to the fourth apparatus; the determining module is used for determining a target duration according to the number of control code blocks except the part of the control code blocks in the plurality of control code blocks of the first type; the second sending module is configured to send the second packet to the third device through the first pseudowire after the target duration after the first packet is sent to the third device. In this case, the third device may stop transmitting the control code block of the first type to the fourth device according to the third indication information in the second packet after receiving the second packet.
Optionally, in any one of the communications apparatuses provided in the sixth to ninth aspects above, the control word of the first pseudowire in the first packet includes the second indication information, and the control word of the first pseudowire in the second packet includes the third indication information.
In a tenth aspect, the present application provides another communication device, which may be, for example, a third device. The communication apparatus includes: the device comprises a first receiving module and a processing module. The first receiving module is used for receiving a first packet sent by a first device through a first pseudo wire between the first device and a third device; wherein the first packet comprises at least one code block of a plurality of code blocks or an identity of each code block of the at least one code block; the processing module is configured to obtain the at least one code block from the first packet.
Optionally, the communication device further comprises: a first transmitting module to transmit the at least one code block to a fourth apparatus.
Optionally, the first packet includes first indication information indicating that the first pseudowire is used to carry the at least one code block or an identity of each of the at least one code block.
Optionally, the plurality of code blocks includes a plurality of control code blocks of a first type received consecutively; the at least one code block is a partial control code block of the plurality of control code blocks of the first type; the communication apparatus further includes: a second transmitting module to continue transmitting the control code block of the first type to a fourth apparatus until a second packet is received, the second packet being different from the first packet. In other words, the second transmitting module may continue to transmit the control code block of the first type to the fourth apparatus after the third apparatus receives the first packet, and may stop continuing to transmit the control code block of the first type to the fourth apparatus when the third apparatus receives another packet (the second packet).
In this way, although the first packet includes only part of the plurality of control code blocks of the first type, the second transmission module continues to transmit the control code blocks of the first type to the fourth device until the second packet is received, and thus the control code blocks of the first type transmitted from the third device to the fourth device can be increased, and the third device can transmit the plurality of control code blocks of the first type to the fourth device. It can be seen that the first packet includes only a portion of the plurality of control code blocks of the first type and does not affect the third device from transmitting the plurality of control code blocks of the first type to the fourth device, so that the code blocks can be completely transmitted from the second device to the fourth device.
In addition, the first packet only needs to include part of the control code blocks in the plurality of control code blocks of the first type, so that the amount of data transmitted between the first device and the third device is reduced, the load of the first pseudo wire between the first device and the third device is reduced, and the transmission efficiency of the first packet is improved.
Optionally, the first packet includes second indication information, where the second indication information is used to instruct the third apparatus to: continuously transmitting the control code block of the first type to the fourth apparatus before receiving the second packet; the second sending module is configured to continuously send the control code block of the first type to the fourth apparatus according to the second indication information.
Optionally, the communication device further comprises: the device comprises a second receiving module and a stopping module. A second receiving module, configured to receive, through the first pseudowire, the second packet sent by the first device, where the second packet includes third indication information, and the third indication information is used to instruct the third device to: stopping transmitting the control code block of the first type to the fourth apparatus; a stopping module, configured to stop sending the control code block of the first type to the fourth apparatus according to the third indication information. The second packet, which is different from the first packet, may or may not include the identity of the code block or code block.
In an eleventh aspect, there is provided a communication system comprising: a first device, a second device, and a third device; the first apparatus comprises the communication apparatus of any of the sixth, seventh, eighth, and ninth aspects; the third device comprises the communication device of any of the design in the tenth aspect.
In a twelfth aspect, a communication device is provided, which includes: a processor and a memory, the processor coupled to the memory; the memory stores a program, and the processor is configured to call the program stored in the memory to cause the communication apparatus to execute the communication method as designed in any one of the first, second, third, fourth, and fifth aspects.
In a thirteenth aspect, a chip is provided, the chip comprising an interface, the chip further comprising programmable logic and/or program instructions, when the chip is run, for implementing the communication method as set forth in any of the first, second, third, fourth and fifth aspects.
In a fourteenth aspect, a computer storage medium having a computer program stored therein is provided; the computer program, when executed on a computer, causes the computer to perform the communication method as set forth in any one of the first, second, third, fourth, and fifth aspects.
In a fifteenth aspect, there is provided a computer program product comprising instructions which, when run on a communication device, cause the communication device to perform the communication method as set forth in any one of the first, second, third, fourth and fifth aspects.
The technical effects brought by any one of the design manners in the second aspect to the fifteenth aspect can be referred to the technical effects brought by the corresponding design manner in the first aspect, and are not described herein again.
Drawings
Fig. 1 is a schematic view of an application scenario of a communication method according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a communication device according to an embodiment of the present application;
fig. 3 is a flowchart of a communication method according to an embodiment of the present application;
fig. 4 is a schematic diagram of a packet structure provided in an embodiment of the present application;
fig. 5 is a schematic diagram of another packet structure provided in the embodiment of the present application;
fig. 6 is a schematic application scenario diagram of another communication method according to an embodiment of the present application;
fig. 7 is a block diagram of a communication device according to an embodiment of the present application;
fig. 8 is a block diagram of another communication device according to an embodiment of the present disclosure.
Detailed Description
To make the principles and technical solutions of the present application clearer, the following detailed description of embodiments of the present application will be made with reference to the accompanying drawings.
Fig. 1 is a schematic view of an application scenario of a communication method according to an embodiment of the present application. As shown in fig. 1, PE1 and PE2 are edge devices in the packet network, and PE1 and CE1 outside the packet network are connected by a link 1, and PE2 and CE2 outside the packet network are connected by a link 2.
The packet network may be any type of packet network. Such as an Internet Protocol Version 4 (Internet Protocol Version 4, ipv 4) packet network, an Internet Protocol Version 6 (Internet Protocol Version 6, ipv 6) packet network, an MPLS packet network, a Segment Routing-Multi-Protocol Label Switching (SR-MPLS) packet network supporting MPLS, or a Segment Routing Version 6 (srv 6) packet network, etc. The packet network may also include edge devices and intermediate devices other than PE1 and PE2, which are not shown in fig. 1.
For each of link 1 and link 2, the link may be any type of link, such as an ethernet link, a FlexE link, an MTN link, or a Sliced Packet Network (SPN) link. The bandwidth of the link may be any bandwidth, such as 10 giga (G), 40G, 50G, 100G, 200G, 400G, or the like when the link is an ethernet link.
In the embodiment of the present application, link 1 and link 2 are used to transmit PHY layer data (referred to as code blocks), such as 64-bit/66-bit (64B/66B) code blocks. It should be noted that the 64B/66B code block has a length of 66 bits, the 64B/66B code block includes a synchronization header and a data unit, the synchronization header has a length of 2 bits, and the data unit has a length of 64 bits. The synchronous head is used for synchronizing the code blocks, and equipment receiving the code blocks can synchronize the code blocks according to the synchronous head so as to count information such as bit error rates.
The code blocks may be of various types.
When the link is an ethernet link, the code blocks transmitted over the link may be data code blocks and control code blocks. The data unit of the data code block comprises data needing to be transmitted; the data unit of the control code block includes control instructions or status information that need to be transmitted, and the control code block may be various, such as Idle (Idle) code block, error (Error) code block, ordered set control blocks (Ordered set control blocks), and the like. The ordered-set code blocks may include Local Fault (LF) ordered-set code blocks and Remote Fault (RF) ordered-set code blocks. For an ordered set code block, it includes: a code block type field, a D3 field, and an O code field, the value of the code block type field is 0x4b, the value of the O code field in the lf ordered set code block and the RF ordered set code block is 0x0, the value of the D3 field in the lf ordered set code block is 0x01, and the value of the D3 field in the RF ordered set code block is 0x02.
When the link is a FlexE link, the code blocks transmitted on the link further include overhead code blocks of the FlexE frame, such as a framing code block of the FlexE frame, in which the code block type field has a value of 0 × 4b and the o code field has a value of 0 × 5.
When the link is a metropolitan area Transport Network (MTN) link, the code blocks transmitted on the link further include an Operation Administration and Maintenance (OAM) code block of a path layer, and the OAM code block may be used to indicate connection state information of the path layer, and the like. The value of the code block type field of the OAM code block is 0x4b, and the value of the o code field is 0x0C.
CE1, CE2, PE1 and PE2 are all communication devices. In the embodiment of the present application, the communication device may be an interface board, a Network Processor (NP) on the interface board, or a communication device (such as a router). The communication apparatus may include: an interface, a processor, and a memory; the processor is connected with both the interface and the memory. The interface is used for communicating with other devices under the control of the processor, the processor is used for being coupled with the memory and executing the method executed by the communication device according to the instructions after reading the instructions in the memory.
In the communication device, the number of the processors may be multiple, and the memory coupled to the processors may be independent of the processors or independent of the communication device, or may be within the processors or the communication device. The storage may be a physically independent unit, or may be a storage space on a cloud server or a network hard disk. Alternatively, the memory may be one or more. When the number of memories is plural, they may be located at the same or different positions, and may be used independently or cooperatively.
Optionally, when the memory is located inside the communication device, please refer to fig. 2, and fig. 2 is a schematic structural diagram of the communication device according to an embodiment of the present disclosure. The communication apparatus 200 includes: a processor 202 and a memory 201, wherein the memory 201 is used for storing programs, and the processor 202 is used for calling the programs stored in the memory 201 to make the communication device execute corresponding methods or functions. Optionally, as shown in fig. 2, the communication device 200 may further include at least one interface 203 and at least one communication bus 204. The memory 201, processor 202, and interface 203 are communicatively coupled by a communication bus 204. Among other things, the interface 203 is used to communicate with other devices under the control of the processor 202, and the processor 202 can call up programs stored in the memory 201 through the communication bus 204.
CE1, CE2, PE1, and PE2 each comprise a chip that includes an interface, and that further includes programmable logic circuits and/or program instructions, which when run, are configured to implement the communication method provided by the embodiments of the present application, as performed by the chip.
Continuing with fig. 1, pseudowire 1 is deployed between PE1 and PE2 (other pseudowires may also be deployed between PE1 and PE2, but this is not limited in this application). Pseudowire 1 may be any type of tunnel based pseudowire such as an SR-MPLS tunnel or an SRv6 tunnel. The pseudowire technology is a service carrying technology, and time-division multiplexing (TDM) service, synchronous Digital Hierarchy (SDH) service, synchronous Optical Network (SONET) service, asynchronous Transfer Mode (ATM) service, frame relay service, and ethernet service can be carried on a pseudowire.
CE1 and CE2 in fig. 1 may communicate over pseudowire 1. Currently, when CE1 communicates with CE2, the MAC layer of CE1 may generate a MAC frame according to data to be transmitted at an upper layer (such as an MPLS layer or an IP layer). The PHY layer of CE1 may obtain PHY layer data from the MAC frame. PE1 may obtain a MAC frame from the received PHY layer data, encapsulate the MAC frame based on pseudowire 1 to obtain packet 1, and then send packet 1 to PE2 over pseudowire 1 between PE1 and PE2. After receiving the packet 1, the PE2 decapsulates the packet 1 to obtain the MAC frame, obtains new PHY layer data according to the MAC frame, and sends the PHY layer data to the CE2, so that the CE2 obtains the MAC frame according to the PHY layer data. In this way, CE1 transmits the MAC frame to CE2 over pseudowire 1 between PE1 and PE2. However, the delay of pseudowire communication between CEs via PEs is high, and the communication efficiency is low.
The embodiment of the application provides a communication method, in the method, communication can be carried out between CEs through pseudo wires between PEs, and in the communication process, the PEs do not need to obtain MAC frames according to PHY layer data, so that time delay of pseudo wire communication between the CEs through the PEs is reduced, and communication efficiency is improved.
Exemplarily, fig. 3 is a flowchart of a communication method provided in an embodiment of the present application, where the method takes the scenario shown in fig. 1 as an example, as shown in fig. 3, the communication method includes:
s101 and CE1 transmit a plurality of code blocks to PE1.
When CE1 needs to communicate with CE2, a MAC frame may be generated at the MAC layer according to data that needs to be transmitted to CE2, and then a plurality of code blocks may be obtained at the PHY layer from the MAC frame. The code blocks here may be the 64B/66B code blocks described above.
After obtaining the code block, CE1 may send the code block to PE1 via link 1 in fig. 1. Illustratively, CE1 is connected to link 1 through its physical interface, pe1 is connected to link 1 through its physical interface, CE1, after obtaining the codeblock, may transmit the codeblock through its physical interface to link 1, and pe1 may receive the codeblock transmitted on link 1 through its physical interface.
When transmitting the code blocks to PE1, CE1 may convert the code blocks into an optical signal at a physical interface (which may include an encoding process based on an error correction code (FEC)), and then transmit the optical signal to PE1 through link 1.PE1, upon receiving the optical signal, may convert the optical signal at the physical interface into code blocks (which may include error correction code (FEC) based decoding processing).
S102, the PE1 obtains a packet 1 based on pseudo wire 1 encapsulation according to at least one code block in the plurality of code blocks.
Here, the at least one code block may be a plurality of code blocks, or a part of the plurality of code blocks.
Packet 1 encapsulated by PE1 based on pseudowire 1 may include the at least one code block or, alternatively, packet 1 includes an identification of each of the at least one code block. When the code block is a control code block, the identifier of the code block may be used to identify the type of the code block, and the type of the code block can be uniquely determined according to the identifier of the code block, and thus the control code block is determined. The identity may be represented by a 4-bit, 8-bit, or 16-bit integer.
Packet 1 is a packet destined for PE2, and when the identity of the or each of the at least one code block is included in packet 1, PE2 is able to determine the at least one code block from the identity of the or each of the at least one code block.
When packet 1 includes the at least one code block, a payload of packet 1 may include the at least one code block. PE1 may encapsulate the at least one code block based on pseudowire 1 to obtain packet 1 in S102, where the structure of the encapsulated code block is not changed in the process of encapsulating to obtain packet 1.
When the packet 1 includes the identity of each of the at least one code block, a portion (e.g., the reserved field) of the packet 1 other than the payload includes the identity of each of the at least one code block (it may also be that the payload of the packet 1 includes the identity of each of the at least one code block).
Alternatively, pseudowire 1 can be a tunnel-based pseudowire, and PE1 can then encapsulate packet 1 based on the pseudowire 1 information and the tunnel information.
As can be seen from the above, after the PE1 receives the code blocks and before the packet 1 is obtained, the PE1 does not obtain the MAC frame according to the code blocks, that is, the PE1 does not perform MAC layer, MPLS layer or IP layer processing on the code blocks, but obtains the packet 1 encapsulated based on the pseudo wire 1 according to at least one of the code blocks, so that the problem of high delay caused by the processing procedure of obtaining the MAC frame according to the code blocks is avoided.
S103, the PE1 sends the packet 1 to the PE2 through the pseudo wire 1.
And S104, the PE2 obtains at least one code block according to the grouping 1.
After receiving the packet 1, the PE2 may decapsulate the packet 1 to obtain the content included in the packet 1, such as the above-mentioned identity of the at least one code block or each of the at least one code block.
When packet 1 includes at least one code block, PE2 decapsulates packet 1 to obtain the at least one code block.
When the packet 1 includes the identifier of each of the at least one code block, the PE2 decapsulates the packet 1 to obtain the identifier of each of the at least one code block, and then the PE2 needs to obtain the at least one code block according to the identifier of each of the at least one code block.
For example, when the at least one code block is a control code block, the PE2 may obtain a mapping relationship between the identifier of the code block and the type of the code block, and after obtaining the identifier of each code block in the at least one code block, the PE2 may determine the type of each code block in the at least one code block according to the mapping relationship, and then obtain the at least one code block.
S105, PE2 sends the obtained at least one code block to CE2.
After obtaining the at least one code block, PE2 may transmit the at least one code block to CE2 via link 2 in fig. 1. The process of sending the code block from the PE2 to the CE2 may refer to the process of sending the code block from the CE1 to the PE1 in S105, which is not described herein in detail in this embodiment of the present application.
Through S101 to S105, CE1 transmits the at least one code block to CE2 through pseudowire 1 between PE1 and PE2. In addition, in the process, the PE1 does not obtain the MAC frame according to the received code block, and the PE2 does not recover the code block according to the MAC frame, so that the communication efficiency of the CE1 and the CE2 is improved.
Moreover, according to the communication method provided by the embodiment of the present application, it is known that transparent transmission of at least one code block sent by CE1 to CE2 is achieved, and the code blocks are not modified by PE1 and PE2, so that the security of transmission of the code blocks between CE1 and CE2 is high. Moreover, when the at least one code block includes at least one code block of the control code block and the overhead code block, the interworking of the network where the CE1 is located to the control plane of the network where the CE2 is located can be achieved.
In addition, because the PE1 does not need to obtain the MAC frame according to the code block, and the PE2 does not need to recover the code block according to the MAC frame, the PE1 does not delete the received control code block and overhead code block, and the PE2 does not recover the control code block and overhead code block deleted by the PE1, thereby simplifying the operations of the PE1 and the PE2. When the network where CE1 is located and the network where CE2 is located are large in scale, the load of PE1 and PE2 is small, and the reservation of the control code block and the overhead code block facilitates the unified operation of the two large-scale networks (because the control code block and the overhead code block can be interworked between networks).
Further, the packet 1 encapsulated based on the pseudowire 1 obtained by the PE1 in S102 may further include first indication information, where the first indication information is used to indicate that the pseudowire 1 is used to carry at least one code block or an identity of each code block in the at least one code block. The PE2 may detect whether the packet 1 includes the first indication information after receiving the packet 1, and perform the above S104 only when the packet 1 includes the first indication information.
Illustratively, the control word for pseudowire 1 in packet 1 includes first indication information.
For example, fig. 4 is a schematic diagram of a Packet structure provided in this embodiment, where The Packet structure uses a Request For Comments (RFC) 5086 (an RFC file number) and a Packet-Switched Network Circuit Emulation Service (CESoPSN) control word defined by RFC5087 (an RFC file number) and a time-division multiplexing (TDMoIP) control word defined by The Internet Engineering Task Force (IETF). It should be noted that fig. 4 illustrates an example in which the packet structure in the embodiment of the present application uses control words defined by RFC5086 and RFC5087, and the packet structure may also use other control words. For example, the packet structure may use a Circuit Emulation over Package (CEP) control word on the packet, such as a control word defined by RFC4842 (an RFC document number).
With continued reference to fig. 4, when packet 1 has the structure shown in fig. 4, the Local Failure (L) field and the Failure Modifier (M) field may include the first indication information in the control word of pseudowire 1 in packet 1. Wherein, the L field includes 1 bit, the M field includes 2 bits, when the value of the L field is 1 and the value of the M field is 01, the values of the L field and the M field are 101, and the first indication information is 101.
With continued reference to fig. 4, the control word for pseudowire 1 in packet 1 may also include: a reserved field (including 4 bits), a Remote Failure (R) field (including 1 bit), a Fragment (FRG) field (including 2 bits), a length (length, LEN) field (including 6 bits), and a Sequence number field (including 16 bits), wherein the LEN field includes the length of the payload. Packet 1 may include, in addition to the control word of pseudowire 1: payload, real-time Transport Protocol (RTP) header (optional). The header of the packet may be an MPLS label stack or an IPv6 header, where the IPv6 header may include: segment Routing Headers (SRH) (not shown in fig. 4); a User Datagram Protocol (UDP) header (not shown in fig. 4) may be further included in the packet header.
For another example, when packet 1 has the structure shown in fig. 5, the reserved field includes the first indication information in the control word of pseudowire 1 in packet 1. Such as the last bit of the reserved field, for indicating the first indication information.
Continuing with reference to fig. 5, the control word for pseudowire 1 in packet 1 may also include: an FRG field, a LEN field, and a sequence number field, wherein the LEN field includes a length of the payload. Packet 1 may include, in addition to the control word of pseudowire 1: payload, RTP header (optional) and IPv6 header, the IPv6 header including SRH.
In this embodiment of the present application, the control word of the pseudowire 1 in the packet 1 includes the first indication information as an example, and the first indication information may also include a part other than the control word in the packet 1, which is not limited in this embodiment of the present application. For example, a protocol field is separately allocated in the header of the packet to include the first indication information.
Optionally, the plurality of code blocks received by the PE1 in S101 may include: a plurality (greater than or equal to two) of control code blocks of the first type received consecutively. At this time, at least one code block in S102 is a partial control code block among the plurality of control code blocks of the first type. For example, the at least one code block is a first (or first and second, etc.) received control code block of the plurality of control code blocks of the first type.
The first type may be any type of control code block, such as a code block with a type field having a value of 0x1E or 0x4B, etc., and an O-code field having a value of 0x0, 0x05 or 0x0C, etc.
In the communication method shown in fig. 3, PE2 may also continue to transmit the control code block of the first type to CE2 after receiving packet 1 and before receiving packet 2, which is different from packet 1. In other words, PE2 may continue to transmit the first type of control code block to CE2 after receiving packet 1, and PE2 may stop continuously transmitting the first type of control code block to CE2 when PE2 receives another packet (packet 2).
In this way, although packet 1 includes only some of the plurality of control code blocks of the first type, PE2 continues to transmit the control code blocks of the first type to CE2 until packet 2 is received, thereby increasing the number of control code blocks of the first type that PE2 transmits to CE2, and enabling PE2 to transmit the plurality of control code blocks of the first type to CE2. It can be seen that packet 1 includes only a part of the plurality of control code blocks of the first type, and does not affect PE2 to transmit the plurality of control code blocks of the first type to CE2, so that these code blocks can be completely transmitted from CE1 to CE2.
Moreover, the packet 1 only needs to include part of the control code blocks in the plurality of control code blocks of the first type, so that the amount of data transmitted between the PE1 and the PE2 is reduced, the load of the pseudo wire 1 between the PE1 and the PE2 is reduced, and the transmission efficiency of the packet 1 is improved.
Optionally, the packet 1 includes second indication information, where the second indication information is used to indicate that the PE2: the first type of control code block is continuously transmitted to CE2 until packet 2 is received. In this case, PE2 may continue to transmit the first type of control code blocks to CE2 according to the second indication information in packet 1.
Illustratively, the control word for pseudowire 1 in packet 1 includes second indication information.
For example, when packet 1 has the structure shown in FIG. 4, in the control word of pseudowire 1 in packet 1, the FRG field is 0, the LEN field may not include the length of the payload, and a certain bit (e.g., the rightmost bit) in the LEN field includes the second indication information.
As another example, where packet 1 has a structure as shown in FIG. 5, the reserved field may include this second indication information in the control word for pseudowire 1 in packet 1.
In the embodiment of the present application, the control word of the pseudowire 1 in the packet 1 includes the second indication information, and the second indication information may also include a part other than the control word in the packet 1, which is not limited in the embodiment of the present application. For example, a protocol field is separately allocated in the header of the packet to include the second indication information, and the like.
In the above, PE2 may continue to transmit the first type of control code block to CE2 after receiving packet 1 and before receiving packet 2. Where the packet 2 is different from the packet 1, the packet 2 may include a code block or an identifier of the code block (the PE1 obtains the packet 2 in a similar manner as the PE1 obtains the packet 1), or the packet 2 may not include the code block or the identifier of the code block.
For example, PE1 may encapsulate packet 2 based on pseudowire 1, with packet 2 including third indication information indicating that PE2: the transmission of the first type of control code block to CE2 is stopped. The PE1 may also determine a target duration according to the number of other control code blocks, and after the target duration after the packet 1 is sent to the PE2, send the packet 2 to the PE2 through the pseudo wire 1. The other control code blocks are control code blocks except the partial control code blocks in the plurality of control code blocks of the first type, and the target duration may be understood as a duration required by the PE2 to transmit the other control code blocks (control code blocks of the first type) to the CE2. After the target duration, the PE2 receives the packet 2, and then the PE2 may stop sending the first type of control code block to the CE2 according to the third indication information in the packet 2, so that the PE2 can send the plurality of first type of control code blocks to the CE2.
Illustratively, the control word for pseudowire 1 in packet 2 includes third indication information.
For example, when packet 2 has the structure shown in fig. 4, in the control word of pseudowire 1 in packet 2, the FRG field is 0, the LEN field may not include the length of the payload, and a certain bit (e.g., the rightmost bit) in the LEN field may be used to represent the third indication information.
For another example, where packet 2 has a structure as shown in fig. 5, the reserved field may include this third indication information in the control word of pseudowire 1 in packet 2.
In the embodiment of the present application, the control word of the pseudowire 1 in the packet 2 includes the third indication information, and the third indication information may also include a part other than the control word in the packet 2, which is not limited in this embodiment of the present application. For example, a protocol field is separately allocated in the header of the packet to include the third indication information, and the like.
In the above embodiment, when the plurality of code blocks in S101 includes a plurality of control code blocks of the first type received consecutively, at least one code block in S102 is a part of the plurality of control code blocks of the first type. Optionally, when the plurality of code blocks in S101 includes a plurality of control code blocks of the first type received consecutively, at least one code block in S102 may also be the plurality of control code blocks of the first type, which is not limited in this embodiment of the present application.
In addition, if the plurality of code blocks received by PE1 in S101 do not include a plurality of control code blocks of the same type that are received consecutively, PE1 may determine the number n of at least one code block that is encapsulated according to the length of the payload in packet 1, and then PE1 may encapsulate the n code blocks based on pseudowire 1 to obtain packet 1.
Illustratively, the length of the payload in packet 1 may be an integer multiple of a byte, which may facilitate byte alignment by PE2 upon receipt of packet 1. For example, a byte is 8 bits long and a code block is X long, then n may be equal to 8, where the length of the encapsulated at least one code block is 8x, which is an integer multiple of 8 bytes long.
In one implementation, the packet 1 may not include the second indication information, and in this case, the PE2 may default to continue to transmit the control code block of the first type to the CE2 when the packet 1 is received and the packet 1 includes the control code block of the first type or the identifier of the control code block until another packet (e.g., the packet 2) is received or until another packet containing different content from that contained in the packet 1 is received.
For example, while PE2 continues to transmit the control code block of the first type to CE2, if another packet is received, PE2 immediately stops continuously transmitting the control code block of the first type to CE2.
For another example, when PE2 continuously transmits the control code block of the first type to CE2, if another packet is received, PE2 needs to determine whether the content included in the other packet is the same as the content included in packet 1. When the content contained in the other packet is different from the content contained in packet 1, PE2 may stop transmitting the control code block of the first type to CE2. PE2 will continue to send control code blocks of the first type to CE2 when the other packet contains the same content as packet 1. For example, if the packet 1 includes a control code block of the first type (or an identity of the control code block of the first type) and the other packet does not include a control code block of the first type (or an identity of the control code block of the first type), the packet 1 and the other packet contain different contents.
When the link 1 in the scenario shown in fig. 1 is a FlexE link, the FlexE link includes a plurality of ethernet links, the PE1 further includes a plurality of FlexE physical interfaces connected to the plurality of ethernet links one by one, and the PE1 is connected to the CE1 through the plurality of FlexE physical interfaces.
(1) In one case, there is a mapping relationship between the FlexE physical interface in PE1 and the pseudowire between PE1 and PE2.
For example, PE1 includes a plurality of FlexE physical interfaces, a plurality of pseudowires exist between PE1 and PE2, and the plurality of FlexE physical interfaces have a mapping relationship with the plurality of pseudowires. PE1 is connected with CE1 through a Flexe physical interface corresponding to each Flexe physical interface. The PE1 can receive the code block sent by the CE1 from each FlexE physical interface, and the pseudowire corresponding to each FlexE physical interface is used to carry the code block received from this FlexE physical interface. In the above S101, the PE1 receives a plurality of code blocks sent by the CE1 from a certain FlexE physical interface, so that in S102, the PE1 may first determine a pseudowire according to a mapping relationship between the FlexE physical interface and the pseudowire, and then obtain a packet encapsulated based on the pseudowire according to at least one code block of the plurality of code blocks. PE1 may send the packet to PE2 over this pseudowire in S103.
As shown in fig. 6, when the link between PE1 and CE1 is a FlexE link including two ethernet links (ethernet links 1.1 and 1.2), PE1 includes a FlexE physical interface 1 and a FlexE physical interface 2, and the two FlexE physical interfaces are connected to the two ethernet links one by one. There are two pseudowires between PE1 and PE2, pseudowire 1.1 and pseudowire 1.2, respectively. As shown in table 1, a mapping relationship exists between a FlexE physical interface 1 and a pseudowire 1.1, where the pseudowire 1.1 is used to carry a code block received from the FlexE physical interface 1; the FlexE physical interface 2 has a mapping relation with the pseudowire 1.2, and the pseudowire 1.2 is used for carrying the code block received from the FlexE physical interface 2.
TABLE 1
Flexe physical interface Pseudowires
1 1.1
2 1.2
If in the above S101, PE1 receives multiple code blocks sent by CE1 from FlexE physical interface 1, then PE1 may determine pseudowire 1.1 according to a mapping relationship between FlexE physical interface 1 and pseudowire 1.1 in S102, and then obtain a packet encapsulated based on pseudowire 1.1 according to at least one of the code blocks. PE1 may send the packet to PE2 over pseudowire 1.1 in S103.
If in the above S101, PE1 receives multiple code blocks sent by CE1 from FlexE physical interface 2, then PE1 may first determine pseudowire 1.2 according to a mapping relationship between FlexE physical interface 2 and pseudowire 1.2 in S102, and then obtain a packet based on pseudowire 1.2 encapsulation according to at least one of the code blocks. PE1 may send the packet to PE2 over pseudowire 1.2 in S103.
With continued reference to fig. 6, pe1 may further include a crossover module, a forwarding module 1, and a forwarding module 2, where forwarding module 1 corresponds to pseudowire 1.1 and forwarding module 2 corresponds to pseudowire 1.2. The cross module is configured to transmit the code block received by the FlexE physical interface to a forwarding module corresponding to a corresponding pseudo wire, for example, transmit the code block received by the FlexE physical interface 1 to the forwarding module 1, and transmit the code block received by the FlexE physical interface 2 to the forwarding module 2. The forwarding module is configured to obtain a packet based on corresponding pseudowire encapsulation based on at least one code block received by a FlexE physical interface corresponding to the corresponding pseudowire, and forward the packet to the PE2 through the pseudowire. For example, the forwarding module 1 is configured to obtain a packet encapsulated based on the pseudowire 1.1 based on at least one code block received by the FlexE physical interface 1, and forward the packet to the PE2 via the pseudowire 1.1. The forwarding module 2 is configured to obtain a packet encapsulated based on a pseudowire 1.2 based on at least one code block received by the FlexE physical interface 2, and forward the packet to the PE2 through the pseudowire 1.2.
Optionally, in a case that the physical interface and the pseudowire have a mapping relationship, the link 1 in the scenario shown in fig. 1 may not be a FlexE link, and accordingly, the first FlexE physical interface may not be a FlexE physical interface. For example, the link 1 is an ethernet link, and the first FlexE physical interface is an ethernet physical interface, which is not limited in this embodiment of the present application. In this case, the PE1 can also determine ethernet physical interfaces of a plurality of code blocks received from the link 1, and determine pseudowires for carrying the code blocks according to correspondence between the ethernet physical interfaces and the pseudowires.
(2) In another case, a mapping relationship exists between the Flexe client and the pseudowire. Alternatively, the bandwidth of the FlexE Client may be an integer multiple of 10 mega (M), 1G, or 5G.
For example, there are multiple pseudowires between PE1 and PE2, and multiple FlexE clients have a mapping relationship with the multiple pseudowires. And one pseudowire corresponding to each Flexe client is used for bearing the code block of the Flexe client. In S101, the PE1 may receive multiple codeblocks from the same FlexE Client sent by the CE1 from one or more FlexE physical interfaces. In S102, PE1 may first determine the FlexE clients corresponding to the code blocks, for example, PE1 determines the FlexE clients according to the timeslot numbers of the timeslots for transmitting the code blocks, and the timeslot may also be replaced by a sub-timeslot with a smaller bandwidth smaller than 5G. Optionally, the PE1 includes a flexible ethernet shim (flexEshim) layer, and the PE1 may determine FlexE clients corresponding to the code blocks through the flexEshim layer. Then, the PE1 may determine a pseudowire according to the mapping relationship between the FlexE client and the pseudowire, and obtain a packet encapsulated based on the pseudowire according to at least one of the code blocks. PE1 may send the packet to PE2 over this pseudowire in S103.
Illustratively, when the FlexE client comprises FlexE client 1 and FlexE client 2, there are two pseudowires between PE1 and PE2, pseudowire 1.3 and pseudowire 1.4, respectively. As shown in table 2, a mapping relationship exists between the FlexE client 1 and the pseudowire 1.3, and the pseudowire 1.3 is used for carrying a code block from the FlexE client 1; the Flexe client 2 has a mapping relation with a pseudo wire 1.4, and the pseudo wire 1.4 is used for bearing a code block of the Flexe client 2.
TABLE 2
FlexE client Pseudowires
1 1.3
2 1.4
In S101 described above, the PE1 may receive a plurality of code blocks transmitted by the CE1 from a plurality of FlexE physical interfaces. PE1 may first determine a FlexE client corresponding to the plurality of code blocks in S102.
If the FlexE client corresponding to the code blocks is FlexE client 1, the PE1 may determine, in S102, a pseudo wire 1.3 according to a mapping relationship between the FlexE client 1 and the pseudo wire 1.3, and then obtain a packet encapsulated based on the pseudo wire 1.3 according to at least one of the code blocks. PE1 may send the packet to PE2 over pseudowire 1.3 in S103.
If the FlexE client corresponding to the code blocks is FlexE client 2, the PE1 may determine a pseudo wire 1.4 according to a mapping relationship between the FlexE client 2 and the pseudo wire 1.4 in S102, and then obtain a packet based on pseudo wire 1.4 encapsulation according to at least one of the code blocks. PE1 may send the packet to PE2 over pseudowire 1.4 in S103.
Optionally, in the case that a FlexE client has a mapping relationship with a pseudowire, the link 1 in the scenario shown in fig. 1 may also be an ethernet link or an MTN link, for example, the MTN link may be an ordinary MTN link (the bandwidth is an integer multiple of 5G) or an MTN small-granule link (the bandwidth is an integer multiple of 10M), and the embodiment of the present application does not limit this. In this case, the PE1 can also determine the FlexE clients corresponding to the multiple code blocks received from the link 1, and determine the pseudowires for carrying the code blocks according to the correspondence between the FlexE clients and the pseudowires.
In addition, the code block in the embodiment of the present application includes a synchronization header and a data unit, and before S102, the PE1 may further compress the synchronization header in the at least one code block, so that the length of the synchronization header is reduced. Then, the PE1 obtains a packet to be sent to the PE2 according to the at least one code block (the code block obtained by compressing the synchronization header). After obtaining the at least one code block, the PE2 may restore the synchronization headers of the code blocks to restore the lengths of the synchronization headers to the lengths before compression. After that, PE2 transmits these code blocks (sync-header-restored code blocks) to CE2. As can be seen, PE1 can reduce the code block length by compressing the synchronization header. When the packets transmitted on the pseudo wire between the PE1 and the PE2 comprise code blocks, the data volume of the packets can be reduced, the network load is reduced, and the transmission efficiency of the packets is improved.
For example, assuming a code block is a 64B/66B code block, the length of the synchronization header in the code block may be reduced from 2 bits to 1 bit after the synchronization header is compressed. For example, assuming that the sync header of the data code block of 64B/66B is binary 01 (denoted as 0B 01), the compressed sync header may be binary 0 (denoted as 0B 0); the sync header of the control code block of 64B/66B is binary 10 (denoted as 0B 10), and the compressed sync header may be binary 1 (denoted as 0B 1).
The embodiment of the present application does not limit a module in the PE1 that performs an operation of compressing a synchronization header. For example, when PE1 has the structure shown in fig. 6, the operation of compressing the sync header may be performed by the interleaving module.
In the embodiment of the present application, the synchronization header may be compressed in a code block voltage of all services, or the synchronization header may be compressed only in a code block of a specific service, and the synchronization header is not compressed in code blocks of other services except the specific service. The designated service may be a small-granule service, such as a service with a transmission rate less than 1G/s or 5G/s.
Assume that PE1 is referred to as a first device, CE2 is referred to as a second device, PE2 is referred to as a third device, packet 1 is referred to as a first packet, and a first pseudowire is referred to as pseudowire 1.
(1) As can be seen from the above, embodiments of the present application provide a communication method performed by a first apparatus, where the communication method may include: after receiving the plurality of code blocks sent by the second device, the first device obtains a first packet based on a first pseudo wire package according to at least one of the plurality of code blocks, and sends the first packet to the third device through the first pseudo wire. The first packet includes the at least one code block or an identity of each of the at least one code block.
The first device needs to determine a first pseudowire in obtaining a first packet encapsulated based on the first pseudowire from at least one of the plurality of code blocks. There are various ways for the first device to determine the first pseudowire, two of which will be explained below as examples.
In a first mode, a first device is connected with a second device through a first physical interface; the first apparatus may receive, from the first physical interface, the plurality of code blocks transmitted by the second apparatus when receiving the plurality of code blocks transmitted by the second apparatus. When obtaining a first packet encapsulated based on a first pseudo wire according to at least one of the plurality of code blocks, the first device may determine the first pseudo wire according to a mapping relationship between the first physical interface and the first pseudo wire, and then obtain the first packet encapsulated based on the first pseudo wire according to at least one of the plurality of code blocks.
The first physical interface may be any kind of physical interface, for example, the first physical interface is a FlexE physical interface, an ethernet physical interface, or the like.
In the second manner, when the first device obtains the first packet encapsulated based on the first pseudo wire according to at least one of the code blocks, the first device may first determine a first FlexE client corresponding to the code blocks, and then determine the first pseudo wire according to a mapping relationship between the first FlexE client and the first pseudo wire.
In this second manner, the first device and the second device may be connected through any kind of physical interface, for example, the first device is connected with the second device through at least one FlexE physical interface, and in this case, the first device may receive the plurality of code blocks sent by the second device through the at least one FlexE physical interface. Of course, the first device and the second device may also be connected through other physical interfaces, for example, an ethernet physical interface or an MTN physical interface, which is not limited in this embodiment of the present application.
(2) As can be seen from the above, an embodiment of the present application provides another communication method performed by a first device, where the communication method may include: the first device obtains a first packet encapsulated based on the first pseudo wire according to at least one code block of the plurality of code blocks after receiving the plurality of code blocks transmitted by the second device, and transmits the first packet to the third device through the first pseudo wire. Wherein after receiving the plurality of code blocks, the first device does not derive a MAC frame from the plurality of code blocks before deriving the first packet;
(3) As can be seen from the above, the present embodiment provides another communication method performed by a first device, where the first device is connected to a second device through a first physical interface; the communication method may include: after receiving the plurality of code blocks sent by the second device from the first physical interface, the first device determines a first pseudo wire according to the mapping relation between the first physical interface and the first pseudo wire; thereafter, the first apparatus may obtain a first packet encapsulated based on the first pseudowire from at least one of the plurality of code blocks and transmit the first packet to the third apparatus through the first pseudowire. Wherein the first packet comprises the at least one code block or an identity of each of the at least one code block.
Optionally, the first physical interface is any one of physical interfaces, such as a FlexE physical interface, an ethernet physical interface, and the like.
(4) As can be seen from the above, an embodiment of the present application provides another communication method performed by a first device, where the communication method may include: after receiving the plurality of code blocks sent by the second device, the first device determines first Flexe clients corresponding to the plurality of code blocks, and determines a first pseudo wire according to the mapping relation between the first Flexe clients and the first pseudo wire; thereafter, the first apparatus may obtain a first packet based on the first pseudowire encapsulation from at least one of the plurality of code blocks, the first packet including the at least one code block or an identity of each of the at least one code block; finally, the first apparatus may transmit the first packet to the third apparatus through the first pseudo-line.
Optionally, the first apparatus is connected to the second apparatus through at least one FlexE physical interface, and when receiving the plurality of code blocks sent by the second apparatus, the first apparatus may receive the plurality of code blocks sent by the second apparatus through the at least one FlexE physical interface. Of course, the first device and the second device may also be connected through other physical interfaces, for example, an ethernet physical interface or an MTN physical interface, which is not limited in this embodiment of the present application.
Optionally, in any one of the methods described above performed by the first apparatus, the payload of the first packet includes the at least one code block when the first packet includes the at least one code block. When the first packet includes the identities of each of the at least one code block, it may also be that the payload of the first packet includes the identities, or that the portion of the first packet other than the payload includes the identities.
Optionally, in any of the above methods performed by the first device, the first packet includes the first indication information, for example, a control word of the first pseudowire in the first packet includes the first indication information. The first indication information is used to indicate that the first pseudowire is used to carry at least one code block or an identity of each of the at least one code block. The third apparatus may detect whether the first packet includes the first indication information after receiving the first packet, and obtain the at least one code block from the first packet when the first packet includes the first indication information.
Optionally, in any one of the methods performed by the first apparatus, when the plurality of code blocks includes a plurality of control code blocks of the first type received in succession, the at least one code block is a part of the plurality of control code blocks of the first type. For example, the at least one code block is a first (or first and second, etc.) received control code block of the plurality of control code blocks of the first type. In this case, the third apparatus may continue to transmit the control code block of the first type to the fourth apparatus after receiving the first packet and before receiving a second packet different from the first packet.
In this way, although the first packet includes only some of the plurality of control code blocks of the first type, the third apparatus continues to transmit the control code blocks of the first type to the fourth apparatus until the third apparatus receives the second packet, and therefore, the number of control code blocks of the first type transmitted to the fourth apparatus by the third apparatus can be increased, and the third apparatus can transmit the plurality of control code blocks of the first type to the fourth apparatus. It can be seen that the first packet only includes a part of the plurality of control code blocks of the first type, and does not affect the third apparatus to transmit the plurality of control code blocks of the first type to the fourth apparatus, so that the code blocks can be completely transmitted from the second apparatus to the fourth apparatus.
In addition, the first packet only needs to include part of the control code blocks in the plurality of control code blocks of the first type, so that the amount of data transmitted between the first device and the third device is reduced, the load of the first pseudo wire between the first device and the third device is reduced, and the transmission efficiency of the first packet is improved.
Further, in any of the above methods performed by the first device, the first packet includes the second indication information, e.g., the control word of the first pseudowire in the first packet includes the second indication information and the control word of the first pseudowire in the second packet includes the third indication information.
The second indication information is used for indicating the third device to: the control code block of the first type continues to be transmitted to the fourth apparatus until a second packet is received, the second packet being different from the first packet. The fourth device here may be CE2 in the above-described embodiment. In this case, the third apparatus may continuously transmit the control code block of the first type to the fourth apparatus according to the second indication information in the first packet.
Still further, any of the above methods performed by the first apparatus further comprises: the first device encapsulates a second packet (such as packet 2 above) based on the first pseudowire, the second packet including third indication information for indicating to the third device: stopping transmitting the control code block of the first type to the fourth apparatus; then, the first device determines a target duration according to the number of control code blocks except for a part of the control code blocks in the plurality of control code blocks of the first type; finally, the first device sends a second packet to the third device through the first pseudo-line a target duration after sending the first packet to the third device. The third device may stop transmitting the control code block of the first type to the fourth device according to the third indication information in the second packet after receiving the second packet.
(5) As can be seen from the above, an embodiment of the present application provides a communication method performed by a third apparatus, where the communication method may include: the third device receives a first packet sent by the first device through a first pseudo wire between the first device and the third device; wherein the first packet comprises at least one code block of the plurality of code blocks or an identity of each of the at least one code block; thereafter, the third apparatus obtains at least one code block from the first packet.
Optionally, the third apparatus may further transmit the at least one code block to the fourth apparatus after obtaining the at least one code block from the first packet.
Optionally, the first packet includes first indication information indicating that the first pseudowire is used to carry the at least one code block or an identity of each of the at least one code block. The third apparatus may obtain the at least one code block according to the first indication information.
Optionally, the plurality of code blocks include a plurality of control code blocks of a first type received consecutively; the at least one code block is a partial control code block of the plurality of control code blocks of the first type. At this time, the third apparatus may continuously transmit the control code block of the first type to the fourth apparatus before receiving the second packet. The second packet is different from the first packet, e.g., the second packet is another packet that the third device receives after receiving the first packet. Optionally, the first packet contains content that is different from the content contained by the second packet.
In this way, although the first packet includes only part of the plurality of control code blocks of the first type, since the third apparatus continues to transmit the control code blocks of the first type to the fourth apparatus before receiving the second packet, it is possible to increase the number of control code blocks of the first type transmitted from the third apparatus to the fourth apparatus, and thus to enable the third apparatus to transmit the plurality of control code blocks of the first type to the fourth apparatus. It can be seen that the first packet only includes a part of the plurality of control code blocks of the first type, and does not affect the third apparatus to transmit the plurality of control code blocks of the first type to the fourth apparatus, so that the code blocks can be completely transmitted from the second apparatus to the fourth apparatus.
In addition, the first packet only needs to include part of the control code blocks in the plurality of control code blocks of the first type, so that the amount of data transmitted between the first device and the third device is reduced, the load of the first pseudo wire between the first device and the third device is reduced, and the transmission efficiency of the first packet is improved.
Further, the first packet includes second indication information for indicating the third apparatus to: continuously transmitting a control code block of the first type to the fourth apparatus before receiving the second packet; the third apparatus may continuously transmit the control code blocks of the first type to the fourth apparatus according to the second indication information.
Optionally, the third apparatus may further receive a second packet sent by the first apparatus through the first pseudowire, where the second packet includes third indication information, and the third indication information is used to instruct the third apparatus to: stopping transmitting the control code block of the first type to the fourth apparatus; thereafter, the third apparatus may stop transmitting the control code block of the first type to the fourth apparatus according to the third indication information.
While the communication method provided in the present application is described in detail in conjunction with fig. 1 to 6, it can be understood that, in order to implement the functions described in the above methods, the communication device needs to include hardware and/or software modules for performing the respective functions. The implementation of the methods described in connection with the embodiments disclosed herein can be realized in hardware or a combination of hardware and computer software. Whether a function is performed in hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, with the embodiment described in connection with the particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In this embodiment, the functional modules of the corresponding communication device may be divided according to the method embodiments, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module may be implemented in the form of hardware.
When the functional block division is adopted, the communication apparatus provided by the present application will be described below with reference to fig. 7 and 8.
Fig. 7 is a block diagram of a communication device provided in an embodiment of the present application, where the communication device may be, for example, a first device in the foregoing embodiments. As shown in fig. 7, the communication apparatus includes: a receiving module 701, a first encapsulating module 702 and a first transmitting module 703.
A receiving module 701 is configured to receive a plurality of code blocks sent by a second apparatus; the operation performed by the receiving module 701 may refer to the content related to PE1 in S101.
The first encapsulation module 702 is configured to obtain a first packet encapsulated based on a first pseudowire from at least one of the plurality of code blocks. The first packet includes the identity of the or each of the at least one code block. The operations performed by the first encapsulation module 702 may refer to the contents related to PE1 in S102.
The first sending module 703 is configured to send the first packet to a third apparatus through the first pseudowire. The operations performed by the first sending module 703 may refer to the contents related to PE1 in S103.
The first device needs to determine a first pseudowire in obtaining a first packet encapsulated based on the first pseudowire from at least one of the plurality of code blocks. There are various ways for the first device to determine the first pseudowire, two of which will be explained below as examples.
In a first mode, the first device is connected with the second device through a first physical interface; the receiving module 701 is configured to receive, from the first physical interface, the plurality of code blocks transmitted by the second apparatus; the first encapsulation module 702 is configured to determine the first pseudowire according to a mapping relationship between the first physical interface and the first pseudowire. The first physical interface may be any kind of physical interface, for example, the first physical interface is a FlexE physical interface, an ethernet physical interface, or the like. The physical interface in the embodiment of the present application may include: the functional modules of the PHY layer, optionally, the physical interface also includes other structures, such as optical modules, and the like.
In a second manner, the first packaging module 702 is configured to: and determining first Flexe clients corresponding to the code blocks, and determining the first pseudo wire according to the mapping relation between the first Flexe clients and the first pseudo wire. Optionally, the first apparatus may be connected to the second apparatus through at least one FlexE physical interface, where the receiving module 701 may be configured to receive the plurality of code blocks sent by the second apparatus through the at least one FlexE physical interface.
The embodiment of the present application provides another communication device, which may be, for example, the first device in the foregoing embodiments. The communication device includes: the device comprises a receiving module, a packaging module and a sending module. The receiving module is configured to receive a plurality of code blocks sent by a second apparatus; the encapsulation module is used for obtaining a first packet encapsulated based on a first pseudo wire according to at least one code block in the plurality of code blocks; wherein after receiving the plurality of code blocks, the first apparatus does not derive a MAC frame from the plurality of code blocks prior to deriving the first packet; the transmitting module is configured to transmit the first packet to a third apparatus through the first pseudo-wire.
The embodiment of the present application provides another communication device, which may be, for example, the first device in the foregoing embodiments. The communication device is connected with the second device through a first physical interface, which may be any kind of physical interface, for example, the first physical interface is a FlexE physical interface, an ethernet physical interface, or the like. The communication device includes: the device comprises a receiving module, a determining module, an encapsulating module and a sending module. Wherein the receiving module is configured to receive, from the first physical interface, a plurality of code blocks transmitted by the second apparatus; the determining module is used for determining the first pseudo wire according to the mapping relation between the first physical interface and the first pseudo wire. The encapsulation module is used for obtaining a first packet encapsulated based on the first pseudo wire according to at least one code block in the plurality of code blocks, wherein the first packet comprises the at least one code block or the identifier of each code block in the at least one code block. The transmitting module is configured to transmit the first packet to a third apparatus through the first pseudowire.
The embodiment of the present application provides another communication device, which may be, for example, the first device in the foregoing embodiments. The communication device includes: the device comprises a receiving module, a first determining module, a second determining module, a packaging module and a sending module. Wherein the receiving module is configured to receive a plurality of code blocks transmitted by the second apparatus; the first determining module is used for determining a first Flexe client corresponding to the plurality of code blocks; the second determining module is used for determining the first pseudo wire according to the mapping relation between the first Flexe client and the first pseudo wire; the encapsulation module is used for obtaining a first packet encapsulated based on the first pseudo wire according to at least one code block in the plurality of code blocks, wherein the first packet comprises the at least one code block or the identifier of each code block in the at least one code block; the transmitting module is configured to transmit the first packet to a third apparatus through the first pseudowire.
Optionally, the first device is connected with the second device through at least one FlexE physical interface; the receiving module is configured to receive the plurality of code blocks sent by the second apparatus through the at least one FlexE physical interface.
Optionally, in any one of the communication apparatuses provided by the embodiments of the present application, when the first packet includes the at least one code block, the payload of the first packet includes the at least one code block. When the first packet includes the identities of each of the at least one code block, it may also be that the payload of the first packet includes the identities, or that a portion of the first packet other than the payload includes the identities.
Optionally, in any of the communication devices that are first devices provided in embodiments of the present application, the first packet includes first indication information, for example, a control word of a first pseudowire in the first packet includes the first indication information. The first indication information is used to indicate that the first pseudowire is used to carry the at least one code block or an identity of each of the at least one code block. The third apparatus may detect whether the first packet includes the first indication information after receiving the first packet, and obtain the at least one code block from the first packet when the first packet includes the first indication information.
Optionally, in a communication apparatus of any one of the first to third apparatuses provided in the embodiments of the present application, the plurality of code blocks includes a plurality of control code blocks of a first type received consecutively; the at least one code block is a partial control code block of the plurality of control code blocks of the first type. For example, the at least one code block is a first (or first and second, etc.) received control code block of the plurality of control code blocks of the first type. In this case, the third apparatus may continue to transmit the control code block of the first type to the fourth apparatus after receiving the first packet and before receiving a second packet different from the first packet.
Optionally, in any communication device that is a first device provided in an embodiment of the present application, the first packet includes second indication information, where the second indication information is used to indicate that the third device: the method further includes continuing to transmit the control code block of the first type to a fourth apparatus before receiving a second packet, the second packet being different from the first packet. In this case, the third apparatus may continuously transmit the control code block of the first type to the fourth apparatus according to the second indication information in the first packet.
Optionally, in any one of the communication devices provided in the embodiments of the present application, the communication device further includes: a second encapsulation module, a determination module and a second sending module (none shown in fig. 7).
A second encapsulation module to encapsulate the second packet based on the first pseudowire, the second packet including third indication information to instruct the third apparatus to: stopping transmitting the control code block of the first type to the fourth apparatus; the determining module is used for determining a target duration according to the number of control code blocks except the part of the control code blocks in the plurality of control code blocks of the first type; the second sending module is configured to send the second packet to the third device through the first pseudowire after the target duration after the first packet is sent to the third device. In this case, the third device may stop transmitting the control code block of the first type to the fourth device according to the third indication information in the second packet after receiving the second packet.
Optionally, in any of the communications devices provided in this application as the first device, the control word of the first pseudowire in the first packet includes the second indication information, and the control word of the first pseudowire in the second packet includes the third indication information.
Fig. 8 is a block diagram of another communication device provided in an embodiment of the present application, which may be, for example, a third device in the foregoing embodiments. As shown in fig. 8, the communication apparatus includes: a first module 801 and a processing module 802.
A first receiving module 801 is configured to receive a first packet sent by a first device through a first pseudowire between the first device and a third device; wherein the first packet comprises at least one code block of a plurality of code blocks or an identity of each of the at least one code block; the operations performed by the first receiving module 801 may refer to the content related to PE2 in S103.
A processing module 802, configured to obtain the at least one code block according to the first packet. The processing module 802 is configured to perform operations related to PE2 in S104.
Optionally, the communication device further comprises: a first transmitting module (not shown in fig. 8) for transmitting the at least one code block to a fourth apparatus. The operations performed by the first sending module may refer to the contents related to PE2 in S105.
Optionally, the first packet includes first indication information indicating that the first pseudowire is used to carry the at least one code block or an identity of each of the at least one code block.
Optionally, the plurality of code blocks includes a plurality of control code blocks of a first type received consecutively; the at least one code block is a partial control code block of the plurality of control code blocks of the first type; the communication apparatus further includes: a second transmitting module (not shown in fig. 8) configured to continue transmitting the control code block of the first type to a fourth apparatus before receiving a second packet, the second packet being different from the first packet. In other words, the second transmitting module may continue to transmit the control code block of the first type to the fourth apparatus after the third apparatus receives the first packet, and may stop continuing to transmit the control code block of the first type to the fourth apparatus when the third apparatus receives another packet (the second packet).
In this way, although the first packet includes only some of the plurality of control code blocks of the first type, the second transmission module continues to transmit the control code blocks of the first type to the fourth device until the second packet is received, and therefore, the number of control code blocks of the first type transmitted by the third device to the fourth device can be increased, and the third device can transmit the plurality of control code blocks of the first type to the fourth device. It can be seen that the first packet includes only a portion of the plurality of control code blocks of the first type and does not affect the third device from transmitting the plurality of control code blocks of the first type to the fourth device, so that the code blocks can be completely transmitted from the second device to the fourth device.
In addition, the first packet only needs to include part of the control code blocks in the plurality of control code blocks of the first type, so that the amount of data transmitted between the first device and the third device is reduced, the load of the first pseudo wire between the first device and the third device is reduced, and the transmission efficiency of the first packet is improved.
Optionally, the first packet includes second indication information, where the second indication information is used to instruct the third apparatus to: continuously transmitting the control code block of the first type to the fourth apparatus before receiving the second packet; the second sending module is configured to continuously send the control code block of the first type to the fourth apparatus according to the second indication information.
Optionally, the communication device further comprises: a second receiving module and a stopping module (neither shown in fig. 8). A second receiving module, configured to receive, through the first pseudowire, the second packet sent by the first device, where the second packet includes third indication information, and the third indication information is used to instruct the third device to: stopping transmitting the control code block of the first type to the fourth apparatus; a stopping module, configured to stop sending the control code block of the first type to the fourth apparatus according to the third indication information. The second packet, which is different from the first packet, may or may not include the identity of the code block or code block.
Where an integrated unit is employed, a communication device provided herein as the first device or the third device may include an interface, a processing module, and a memory module. The processing module may be configured to control and manage an action of the communication apparatus, for example, may be configured to support the communication apparatus to perform the action performed by the first apparatus or the third apparatus. The memory module may be used to support the communication device in executing stored program codes and data, etc. The interface may be used for communication of the communication device with other devices.
The processing module may be a processor or a controller. Which may implement or execute the various illustrative logical blocks, modules, and circuits described in connection with the disclosure herein. A processor may also be a combination of computing functions, e.g., a combination of one or more microprocessors, a Digital Signal Processing (DSP) and a microprocessor, or the like. The storage module may be a memory.
In an embodiment, when the processing module is a processor and the storage module is a memory, the communication device according to this embodiment may be a communication device having a structure shown in fig. 2. In one implementation, the above modules and the like included in the communication device may be computer programs stored in a memory, and are called by a processor to implement the corresponding execution functions of the modules.
An embodiment of the present application provides a communication system, which may include: a first device, a second device, and a third device. The first device includes any one of the communication devices provided in the embodiments of the present application, such as the communication device shown in fig. 7. The third device comprises a communication device which is any one of the third devices provided by the embodiments of the present application, such as the communication device shown in fig. 8. Optionally, the communication system further includes a fourth apparatus, and the third apparatus is configured to transmit the obtained code block to the fourth apparatus.
The embodiment of the application provides a computer storage medium, wherein a computer program is stored in the storage medium; the computer program, when executed on a computer, causes the computer to perform the method performed by the first device or the third device in any one of the communication methods provided in the embodiments of the present application.
Embodiments of the present application further provide a computer program product including instructions, which, when run on a communication apparatus, cause the communication apparatus to perform a method performed by a first apparatus or a third apparatus in any one of the communication methods provided in the embodiments of the present application.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product comprising one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, digital subscriber line) or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or can comprise one or more data storage devices, such as a server, a data center, etc., integrated with the available medium. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium, or a semiconductor medium (e.g., solid state disk), among others.
In this application, the terms "first" and "second," etc. are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. The term "at least one" means one or more and "a plurality" means two or more unless explicitly defined otherwise. The term "and/or" is merely an associative relationship that describes an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone.
Different types of embodiments such as the method embodiment and the apparatus embodiment provided by the embodiment of the present application can be mutually referred to, and the embodiment of the present application does not limit this. The sequence of operations in the method embodiments provided in the present application can be appropriately adjusted, and the operations can be increased or decreased according to the circumstances, and any method that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present application shall be covered within the protection scope of the present application, and therefore will not be described in detail.
In the corresponding embodiments provided in the present application, it should be understood that the disclosed system and apparatus, etc. may be implemented by other configurations. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of modules is merely a division of logical functions, and an actual implementation may have another division, for example, a plurality of modules may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or modules through some interfaces, and may be in an electrical or other form.
Units described as separate parts may or may not be physically separate, and parts described as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of devices. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The above description is only an alternative embodiment of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think of various equivalent modifications or substitutions within the technical scope of the present application, and these modifications or substitutions should be covered within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (51)

1. A method of communication, the method performed by a first apparatus, the method comprising:
receiving a plurality of code blocks transmitted by a second apparatus;
obtaining a first packet based on a first pseudowire encapsulation according to at least one code block of the plurality of code blocks, wherein the first packet comprises the at least one code block or an identification of each code block of the at least one code block;
transmitting the first packet to a third apparatus over the first pseudo-wire.
2. The method of claim 1, wherein a payload of the first packet comprises the at least one code block when the first packet comprises the at least one code block.
3. The method according to claim 1 or 2, wherein the first packet comprises first indication information indicating that the first pseudowire is used to carry the identity of the or each of the at least one code block.
4. The method of claim 3, wherein the control word for the first pseudowire in the first packet comprises the first indication information.
5. The method according to any of claims 1 to 4, wherein the plurality of code blocks comprises a plurality of control code blocks of a first type received consecutively; the at least one code block is a partial control code block of the plurality of control code blocks of the first type.
6. The method of claim 5, wherein the first packet comprises second indication information, and wherein the second indication information is used to instruct the third device to: the method further includes continuing to transmit the control code block of the first type to a fourth apparatus until a second packet is received, the second packet being different from the first packet.
7. The method of claim 6, further comprising:
encapsulating the second packet based on a first pseudowire, the second packet comprising third indication information for indicating to the third apparatus to: stopping transmitting the control code block of the first type to the fourth apparatus;
determining a target duration according to the number of control code blocks except the part of the control code blocks in the plurality of control code blocks of the first type;
transmitting the second packet to the third device over the first pseudowire after the target duration after transmitting the first packet to the third device.
8. The method of claim 7, wherein the control word for the first pseudowire in the first packet comprises the second indication information and wherein the control word for the first pseudowire in the second packet comprises the third indication information.
9. The method of any of claims 1 to 8, wherein the first device is connected to the second device via a first physical interface;
the receiving a plurality of code blocks transmitted by a second apparatus includes: receiving the plurality of code blocks sent by the second apparatus from the first physical interface;
obtaining a first packet encapsulated based on a first pseudowire from at least one of the plurality of code blocks, comprising:
and determining the first pseudo wire according to the mapping relation between the first physical interface and the first pseudo wire.
10. The method of claim 9, wherein the first physical interface is a flexible ethernet FlexE physical interface.
11. The method of any of claims 1 to 8, wherein deriving a first packet encapsulated on a first pseudowire from at least one of the plurality of code blocks comprises:
determining a first flexible Ethernet user FlexeE client corresponding to the plurality of code blocks;
and determining the first pseudo wire according to the mapping relation between the first FlexeE client and the first pseudo wire.
12. The method according to claim 11, wherein the first device is connected to the second device through at least one flexible ethernet FlexE physical interface;
the receiving a plurality of code blocks transmitted by a second apparatus includes:
receiving the plurality of code blocks sent by the second apparatus through the at least one Flexe physical interface.
13. A method of communication, the method being performed by a third apparatus, the method comprising:
receiving a first packet sent by a first device through a first pseudowire between the first device and a third device; wherein the first packet comprises at least one code block of a plurality of code blocks or an identity of each code block of the at least one code block;
the at least one code block is obtained from the first packet.
14. The method of claim 13, wherein after obtaining the at least one code block from the first packet, the method further comprises:
transmitting the at least one code block to a fourth apparatus.
15. The method of claim 13 or 14, wherein the first packet comprises first indication information indicating that the first pseudowire is used to carry the at least one code block or an identity of each of the at least one code block.
16. The method according to any of claims 13 to 15, wherein the plurality of code blocks comprises a plurality of control code blocks of a first type received consecutively; the at least one code block is a partial control code block of the plurality of control code blocks of the first type;
the method further comprises the following steps:
the method further includes continuing to transmit the control code block of the first type to a fourth apparatus before receiving a second packet, the second packet being different from the first packet.
17. The method of claim 16, wherein the first packet comprises second indication information, and wherein the second indication information is used to instruct the third apparatus to: continuously transmitting the control code block of the first type to the fourth apparatus before receiving the second packet;
the persistent transmission of the first type of control code block to a fourth apparatus includes:
continuously transmitting the control code block of the first type to the fourth apparatus according to the second indication information.
18. The method according to claim 16 or 17, further comprising:
receiving the second packet sent by the first device over the first pseudowire, the second packet including third indication information for indicating to the third device: stopping transmitting the control code block of the first type to the fourth apparatus;
and according to the third indication information, stopping transmitting the control code block of the first type to the fourth device.
19. A method of communication, the method performed by a first apparatus, the method comprising:
receiving a plurality of code blocks transmitted by a second apparatus;
obtaining a first packet based on a first pseudo-wire encapsulation according to at least one of the code blocks; wherein, after receiving the plurality of code blocks, the first apparatus does not derive a media access control, MAC, frame from the plurality of code blocks prior to deriving the first packet;
transmitting the first packet to a third apparatus through the first pseudowire.
20. A method of communication, the method being performed by a first device, the first device being connected to a second device through a first physical interface; the method comprises the following steps:
receiving, from the first physical interface, a plurality of code blocks transmitted by the second apparatus;
determining a first pseudo wire according to the mapping relation between the first physical interface and the first pseudo wire;
obtaining a first packet based on the first pseudo-wire encapsulation according to at least one code block in the plurality of code blocks, wherein the first packet comprises the at least one code block or the identifier of each code block in the at least one code block;
transmitting the first packet to a third apparatus through the first pseudowire.
21. The method of claim 20, wherein the first physical interface is a flexible ethernet FlexE physical interface.
22. A method of communication, the method being performed by a first apparatus, the method comprising:
receiving a plurality of code blocks transmitted by the second apparatus;
determining a first flexible Ethernet user FlexeE client corresponding to the plurality of code blocks;
determining a first pseudo wire according to the mapping relation between the first FlexeE client and the first pseudo wire;
obtaining a first packet based on the first pseudo-wire encapsulation according to at least one code block in the plurality of code blocks, wherein the first packet comprises the at least one code block or the identifier of each code block in the at least one code block;
transmitting the first packet to a third apparatus through the first pseudowire.
23. The method according to claim 22, wherein the first device is connected to the second device via at least one flexible ethernet FlexE physical interface;
the receiving a plurality of code blocks transmitted by a second apparatus includes:
receiving the plurality of code blocks transmitted by the second apparatus through the at least one FlexE physical interface.
24. A communication device, wherein the communication device is a first device, the communication device comprising:
a receiving module, configured to receive a plurality of code blocks sent by a second apparatus;
a first encapsulation module, configured to obtain a first packet encapsulated based on a first pseudo-wire according to at least one of the code blocks, where the first packet includes an identifier of the or each of the at least one code block;
a first transmitting module to transmit the first packet to a third apparatus through the first pseudo-wire.
25. The communications apparatus of claim 24, wherein a payload of the first packet includes the at least one code block when the first packet includes the at least one code block.
26. The communications apparatus of claim 24 or 25, wherein the first packet comprises first indication information indicating that the first pseudowire is used to carry the identity of the or each of the at least one code block.
27. The communications apparatus of claim 26, wherein the control word for the first pseudowire in the first packet comprises the first indication information.
28. The communications apparatus according to any one of claims 24 to 27, wherein the plurality of code blocks comprises a plurality of control code blocks of a first type received consecutively; the at least one code block is a partial control code block of the plurality of control code blocks of the first type.
29. The communications device of claim 28, wherein the first packet comprises second indication information, the second indication information being used to instruct the third device to: the method further includes continuing to transmit the control code block of the first type to a fourth apparatus before receiving a second packet, the second packet being different from the first packet.
30. The communications device of claim 29, further comprising:
a second encapsulation module to encapsulate the second packet based on a first pseudowire, the second packet including third indication information to instruct the third apparatus to: stopping transmitting the control code block of the first type to the fourth apparatus;
a determining module, configured to determine a target duration according to the number of control code blocks, excluding the partial control code block, in the plurality of control code blocks of the first type;
a second sending module, configured to send the second packet to the third device through the first pseudowire after the target duration after the first packet is sent to the third device.
31. The communications device of claim 30, wherein the control word of the first pseudowire in the first packet comprises the second indication information and wherein the control word of the first pseudowire in the second packet comprises the third indication information.
32. The communications device of any one of claims 24 to 31, wherein the first device is coupled to the second device via a first physical interface;
the receiving module is configured to receive, from the first physical interface, the plurality of code blocks transmitted by the second apparatus;
the first encapsulation module is used for determining the first pseudo wire according to the mapping relation between the first physical interface and the first pseudo wire.
33. The communications device of claim 32, wherein the first physical interface is a flexible ethernet FlexE physical interface.
34. The communication device according to any one of claims 24 to 31, wherein the first encapsulation module is configured to:
determining a first flexible Ethernet user FlexeE client corresponding to the plurality of code blocks;
and determining the first pseudo wire according to the mapping relation between the first FlexeE client and the first pseudo wire.
35. The communications device of claim 34, wherein the first device is connected to the second device via at least one flexible ethernet FlexE physical interface;
the receiving module is configured to receive the plurality of code blocks sent by the second apparatus through the at least one FlexE physical interface.
36. A communication apparatus, wherein the communication apparatus is a third apparatus, the communication apparatus comprising:
a first receiving module, configured to receive a first packet sent by a first device through a first pseudowire between the first device and a third device; wherein the first packet comprises at least one code block of a plurality of code blocks or an identity of each code block of the at least one code block;
a processing module configured to obtain the at least one code block according to the first packet.
37. The communications apparatus of claim 36, further comprising:
a first transmitting module to transmit the at least one code block to a fourth apparatus.
38. The communications apparatus of claim 36 or 37, wherein the first packet comprises first indication information indicating that the first pseudowire is used to carry the identity of the or each of the at least one code block.
39. The communications apparatus according to any one of claims 36 to 38, characterized in that the plurality of code blocks comprises a plurality of control code blocks of a first type received consecutively; the at least one code block is a partial control code block of the plurality of control code blocks of the first type;
the communication apparatus further includes:
a second transmitting module to continue transmitting the control code block of the first type to a fourth apparatus until a second packet is received, the second packet being different from the first packet.
40. The communications device of claim 39, wherein the first packet comprises second indication information, the second indication information being used to instruct the third device to: continuously transmitting the control code block of the first type to the fourth apparatus before receiving the second packet;
the second sending module is configured to continuously send the control code block of the first type to the fourth apparatus according to the second indication information.
41. A communication apparatus according to claim 39 or 40, further comprising:
a second receiving module, configured to receive, through the first pseudowire, the second packet sent by the first apparatus, where the second packet includes third indication information, and the third indication information is used to instruct the third apparatus to: stopping transmitting the control code block of the first type to the fourth apparatus;
a stopping module, configured to stop sending the control code block of the first type to the fourth apparatus according to the third indication information.
42. A communication device, wherein the communication device is a first device, the communication device comprising:
a receiving module, configured to receive a plurality of code blocks sent by a second apparatus;
an encapsulation module, configured to obtain a first packet encapsulated based on a first pseudo-wire according to at least one of the code blocks; wherein, after receiving the plurality of code blocks, the first apparatus does not derive a media access control, MAC, frame from the plurality of code blocks prior to deriving the first packet;
a transmitting module to transmit the first packet to a third apparatus through the first pseudo-wire.
43. A communication device, wherein the communication device is a first device, and wherein the first device is connected to a second device through a first physical interface; the communication device includes:
a receiving module, configured to receive, from the first physical interface, a plurality of code blocks sent by the second apparatus;
a determining module, configured to determine a first pseudo wire according to a mapping relationship between the first physical interface and the first pseudo wire;
an encapsulation module, configured to obtain a first packet encapsulated based on the first pseudo wire according to at least one of the code blocks, where the first packet includes the at least one code block or an identifier of each of the at least one code block;
a transmitting module to transmit the first packet to a third apparatus through the first pseudo-wire.
44. The communications device of claim 43, wherein the first physical interface is a Flexible Ethernet Flexe physical interface.
45. A communication device, wherein the communication device is a first device, the communication device comprising:
a receiving module, configured to receive a plurality of code blocks sent by the second apparatus;
a first determining module, configured to determine a first flexible ethernet user FlexE client corresponding to the plurality of code blocks;
a second determining module, configured to determine the first pseudowire according to a mapping relationship between the first FlexE client and the first pseudowire;
an encapsulation module, configured to obtain a first packet encapsulated based on the first pseudo-wire according to at least one of the code blocks, where the first packet includes the at least one code block or an identifier of each of the at least one code block;
a transmitting module to transmit the first packet to a third apparatus through the first pseudo-wire.
46. The communications device of claim 45, wherein said first device is connected to said second device via at least one flexible Ethernet Flexe physical interface;
the receiving module is configured to receive the plurality of code blocks sent by the second apparatus through the at least one FlexE physical interface.
47. A communication system, comprising: a first device, a second device, and a third device;
the first device comprising the communication device of any one of claims 24 to 35, 42 to 46;
the third device comprising the communication device of any of claims 36 to 41.
48. A communication apparatus, characterized in that the communication apparatus comprises: a processor and a memory, the processor coupled to the memory;
the memory stores a program, and the processor is configured to call the program stored in the memory to cause the communication apparatus to execute the communication method according to any one of claims 1 to 23.
49. A chip comprising an interface, the chip further comprising programmable logic circuitry and/or program instructions for implementing a communication method as claimed in any one of claims 1 to 23 when the chip is run.
50. A computer storage medium, wherein a computer program is stored in the computer storage medium;
the computer program, when run on a computer, causes the computer to perform the communication method of any one of claims 1 to 23.
51. A computer program product, characterized in that a computer program is stored;
the computer program, when run on a computer, causes the computer to perform the communication method of any one of claims 1 to 23.
CN202110661342.8A 2021-06-15 2021-06-15 Communication method, device and system Pending CN115484207A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110661342.8A CN115484207A (en) 2021-06-15 2021-06-15 Communication method, device and system
PCT/CN2022/097294 WO2022262614A1 (en) 2021-06-15 2022-06-07 Communication method, apparatus, and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110661342.8A CN115484207A (en) 2021-06-15 2021-06-15 Communication method, device and system

Publications (1)

Publication Number Publication Date
CN115484207A true CN115484207A (en) 2022-12-16

Family

ID=84419396

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110661342.8A Pending CN115484207A (en) 2021-06-15 2021-06-15 Communication method, device and system

Country Status (2)

Country Link
CN (1) CN115484207A (en)
WO (1) WO2022262614A1 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7782841B2 (en) * 2005-01-05 2010-08-24 Cisco Technology, Inc. Method and system for transporting data using pseudowire circuits over a bridged network
CN101316260B (en) * 2007-05-30 2012-04-25 华为技术有限公司 Packaging conversion method and packaging conversion equipment
US8472438B2 (en) * 2010-04-23 2013-06-25 Telefonaktiebolaget L M Ericsson (Publ) Efficient encapsulation of packets transmitted on a packet-pseudowire over a packet switched network
CN106330499A (en) * 2015-06-25 2017-01-11 中兴通讯股份有限公司 Time division multiplexing data transmission method and device, as well as network-side edge devices
CN110798415B (en) * 2018-08-03 2022-02-18 中兴通讯股份有限公司 Service transmission method, equipment and computer storage medium

Also Published As

Publication number Publication date
WO2022262614A1 (en) 2022-12-22

Similar Documents

Publication Publication Date Title
KR102112487B1 (en) Data transmission methods, devices and systems
US9077560B2 (en) Adaptation scheme for communications traffic
US8023505B2 (en) Circuit emulation service method and telecommunication system for implementing the method
US11477549B2 (en) Transmission network system, data switching and transmission method, apparatus and equipment
US20110305458A1 (en) Method and device for service adaptation
EP3832914A1 (en) Oam message transmission method, sending device, receiving device, and readable storage device
JP7282187B2 (en) FLEXIBLE ETHERNET COMMUNICATION METHOD AND NETWORK DEVICE
CN113972997A (en) Method and equipment for transmitting data
US20050053064A1 (en) Method and apparatus for encapsulating services for transportation over metallic physical mediums
WO2019029419A1 (en) Method and device for pass-through of service frequency
WO2020231877A1 (en) Ethernet signal format using 256b/257b block encoding
KR20130007645A (en) Method, apparatus and system transmitting sdh/sonet section overhead bytes
US20230164624A1 (en) Service data processing, exchange and extraction methods, devices, and computer-readable medium
US20090185578A1 (en) Method, apparatus and system for transmitting fiber channel service
WO2019114544A1 (en) Data transport method, device and system
WO2009081128A1 (en) Adaptation scheme for communications traffic
CN104618057A (en) Packet transport network non-damage protection switching method and system
CN115484207A (en) Communication method, device and system
CN111342929A (en) Information sending and receiving method and device and information processing system
WO2021073406A1 (en) Method for transmitting service data, related apparatus, and digital processing chip
KR100411517B1 (en) Method and Apparatus for Internet Protocol Translation using NAT-PT
CN115811388A (en) Communication method, related device and storage medium
JP2022521586A (en) Flexible Ethernet communication methods and network devices
EP3664371B1 (en) Switching method and apparatus
US11902403B2 (en) Method for receiving code block stream, method for sending code block stream, and communications apparatus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication