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:
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:
The present invention provides a data processing method and device. A data processing device receives a first data stream, where the first data stream includes a first data unit; obtains a boundary of the first data unit; obtains a first skew according to a first data amount and the boundary of the first data unit; and adjusts the first data stream according to the first skew, so that a difference between the boundary of the first data unit and a boundary of the first data amount is a length of an integral quantity of first data units, so that a relatively small amount of data is needed in such an adjustment, that is, one data stream is adjusted, and an adjusted data stream can meet a basic condition for multiplexing, which reduces operation complexity and costs and is beneficial to deploy and implement bit width conversion.
Abstract:
A data processing method, a data transmit end, and a data receive end are presented. The data processing method includes inserting multiple alignment markers (AMs) into a first data stream, where the first data stream is a data stream that is transcoded and scrambled after being encoded at a physical layer; adaptively allocating the first data stream that includes the AMs to multiple physical coding sublayer (PCS) lanes to obtain second data streams; performing forward error correction (FEC) encoding on the second data streams on the multiple PCS lanes to obtain third data streams; and delivering the third data streams to multiple physical medium attachment sublayer (PMA) lanes according to an input bit width of a Serdes to obtain multiple fourth data streams, each fourth data stream includes at least one complete and continuous AM, and the at least one AM is an AM in the multiple AMs.
Abstract:
The present invention provides a data processing method and device. A data processing device receives a first data stream, where the first data stream includes a first data unit; obtains a boundary of the first data unit; obtains a first skew according to a first data amount and the boundary of the first data unit; and adjusts the first data stream according to the first skew, so that a difference between the boundary of the first data unit and a boundary of the first data amount is a length of an integral quantity of first data units, so that a relatively small amount of data is needed in such an adjustment, that is, one data stream is adjusted, and an adjusted data stream can meet a basic condition for multiplexing, which reduces operation complexity and costs and is beneficial to deploy and implement bit width conversion.
Abstract:
This application discloses a physical layer encoding and decoding method and apparatuses thereof, where the method includes: receiving an MII control block and a first 256-bit to-be-encoded block that are input; determining a control block in the first 256-bit to-be-encoded block, and compressing the determined control block; determining a physical layer encoding format, a value of a sync header, a hierarchy of a block type field, and a value of the block type field according to the MII control block; and obtaining an encoding result by means of mapping the compressed to-be-encoded block to data in a physical layer data format according to the determined physical layer encoding format, adding a sync header to the data, and adding, according to the hierarchy of the block type field, a block type field to space obtained by compression. This application may be used to meet a requirement of an RS-FEC algorithm.
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:
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 data processing method includes: inserting multiple alignment markers (AMs) into a first data stream, where the first data stream is a data stream that is transcoded and scrambled after being encoded at a physical layer; adaptively allocating the first data stream that includes the multiple AMs to multiple physical coding sublayer (PCS) lanes to obtain second data streams; performing forward error correction (FEC) encoding on the second data streams on the multiple PCS lanes to obtain third data streams; and delivering the third data streams to multiple physical medium attachment (PMA) sublayer lanes according to an input bit width of a serializer/deserializer (SerDes) to obtain multiple fourth data streams, each fourth data stream includes at least one complete and continuous AM, and the at least one AM is an AM in the multiple AMs.
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.