Abstract:
An embodiment of the present invention discloses a data sending and receiving method. A first FEC unit of a sending device sends, by using a first channel, a first data stream on which first FEC encoding has been performed; a second FEC unit of the sending device sends, by using a second channel, a second data stream on which second FEC encoding has been performed; and the sending device performs interleaving on the first data stream and the second data stream, to obtain an output data stream, and sends the output data stream to a receiving device and error correction capability of a receiving device could be improved. In addition, in the present invention, an operation of writing by row and reading by column does not need to be performed. Therefore, no delay is generated.
Abstract:
A line card is provided. The line card includes: a first processing module, configured to determine, according to a correspondence between a first optical serial signal flow and a logical interface, the logical interface, where bandwidth of the logical interface is configured to be first bandwidth, the logical interface is corresponding to a first optical interface, and the first optical interface is corresponding to an optical fiber, or a channel that is in an optical fiber and is used to transmit an optical signal with a wavelength. The line card also includes a second processing module, configured to determine, according to a correspondence between the logical interface and the first optical interface and the logical interface, the first optical interface. The line card also includes a scheduling module, configured to transmit the first optical serial signal flow through the first optical interface.
Abstract:
An embodiment of the present invention discloses a data sending and receiving method. A first FEC unit of a sending device sends, by using a first channel, a first data stream on which first FEC encoding has been performed; a second FEC unit of the sending device sends, by using a second channel, a second data stream on which second FEC encoding has been performed; and the sending device performs interleaving on the first data stream and the second data stream, to obtain an output data stream, and sends the output data stream to a receiving device and error correction capability of a receiving device could be improved. In addition, in the present invention, an operation of writing by row and reading by column does not need to be performed. Therefore, no delay is generated.
Abstract:
A method includes: obtaining, by a control device, a service requirement latency of transmitting a data stream from a first network device to a second network device; obtaining, by the control device, a network device transmission latency on a forwarding path and a link transmission latency on the forwarding path; and determining, by the control device based on the service requirement latency of the data stream and the network device transmission latency and the link transmission latency on the path for forwarding the data stream, a required bandwidth for transmitting the data stream.
Abstract:
An embodiment of the present disclosure contemplates a data sending and receiving method and apparatus. A first FEC unit of a sending device sends, by using a first channel, a first data stream on which first FEC encoding has been performed; a second FEC unit of the sending device sends, by using a second channel, a second data stream on which second FEC encoding has been performed; and the sending device performs interleaving on the first data stream and the second data stream, to obtain an output data stream, and sends the output data stream to a receiving device.
Abstract:
In a data processing method, a first device obtains at least one service flow, where any service flow in the at least one service flow includes a plurality of code blocks, and the code block includes a data unit and a type, or the code block includes a type, a type indication, and code block content; and the first device maps the plurality of code blocks to at least one PHY link based on a coding scheme of the code blocks, where the at least one PHY link is used to transmit the plurality of code blocks.
Abstract:
A method for generating an Ethernet frame includes generating the Ethernet frame including a protection field, where a protection range of the protection field includes a destination MAC address field in the Ethernet frame. A method for processing an Ethernet frame includes receiving a plurality of bytes in the Ethernet frame, where the plurality of bytes include information about the destination MAC address field and information about the protection field; and checking information within the protection range of the protection field based on the information about the protection field.
Abstract:
A method includes a network device receiving a plurality of fragments of an Ethernet frame, where the plurality of fragments include an initial fragment and a first fragment, and where the initial fragment includes a destination media access control (MAC) address field. In response to an error occurring in the Ethernet frame, the first fragment is changed to a second fragment, where the second fragment includes second type indication information (TII) and second to-be-transmitted data (TBTD), where the second TII indicates that a type of the second TBTD is a control character, where a value of first TBTD is different from a value of the second TBTD, and where the second TBTD indicates that an error occurs in the Ethernet frame. The network device sends the second fragment to a destination device.
Abstract:
A data distribution method, a data aggregation method, and related apparatuses are disclosed. The data distribution method may include: receiving a first packet stream; dividing the first packet stream to obtain a first data block stream; sending the first data block stream to a first circuit; processing, by the first circuit, the first data block stream to obtain a first data stream; distributing, by the first circuit, the first data stream to N1 second circuits of M second circuits in a PT-W, where M is greater than N1, N1 is a positive integer, and M is a positive integer; and processing, by the N1 second circuits, the received first data stream to obtain N1 first code streams. The technical solutions provided by the embodiments of the present application help to meet a requirement for complex bandwidth configuration and extend an application scenario.
Abstract:
This disclosure provides a method for sending and receiving a clock synchronization packet in FlexE. The method includes: generating, by a sending apparatus, indication information and a plurality of data blocks, where the plurality of data blocks are obtained by encoding a first clock synchronization packet, the indication information is used to indicate a first data block, and the first data block is a data block used for timestamp sampling in the plurality of data blocks; determining, by the sending apparatus, according to the indication information, a moment at which the first data block arrives at a medium dependent interface MDI of the sending apparatus, and generating a sending timestamp, where the sending timestamp is used to record a sending moment of the first clock synchronization packet; generating a second clock synchronization packet carrying the sending timestamp; and sending, by the sending apparatus, the second clock synchronization packet.