Data sending and receiving method and device

    公开(公告)号:US11831434B2

    公开(公告)日:2023-11-28

    申请号:US17511303

    申请日:2021-10-26

    IPC分类号: H04L1/00 H03M13/27 H03M13/29

    摘要: 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 and error correction capability of a receiving device could be improved. In addition, in the present disclosure, an operation of writing by row and reading by column does not need to be performed. Therefore, no delay is generated.

    Forwarding table generation method and forwarding device

    公开(公告)号:US11637665B2

    公开(公告)日:2023-04-25

    申请号:US17168198

    申请日:2021-02-05

    摘要: A forwarding table generation method is provided. The method includes: determining, by a forwarding device, a first timeslot set, where the first timeslot set includes multiple timeslots during which the forwarding device sends, to a first device by using a first flexible Ethernet group, multiple encoded data blocks generated by a physical coding sublayer; determining, by the forwarding device, a second timeslot set, where the second timeslot set includes multiple timeslots during which the forwarding device receives, by using a second FlexE group, the multiple encoded data blocks sent by a second device; and generating, by the forwarding device, a forwarding table, where the forwarding table includes a mapping relationship between the second FlexE group and the multiple timeslots included in the second timeslot set, and between the first FlexE group and the multiple timeslots included in the first timeslot set.

    Data sending and receiving method and device

    公开(公告)号:US11528094B2

    公开(公告)日:2022-12-13

    申请号:US17829355

    申请日:2022-05-31

    IPC分类号: H04L1/00 H03M13/27 H03M13/29

    摘要: 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 and error correction capability of a receiving device could be improved. In addition, in the present disclosure, an operation of writing by row and reading by column does not need to be performed. Therefore, no delay is generated.

    Method and apparatus for sending and receiving clock synchronization packet

    公开(公告)号:US11356188B2

    公开(公告)日:2022-06-07

    申请号:US16847258

    申请日:2020-04-13

    摘要: This application 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.

    Data Transmission Method, Encoding Method, Decoding Method, Apparatus, Device, and Storage Medium

    公开(公告)号:US20220077875A1

    公开(公告)日:2022-03-10

    申请号:US17525189

    申请日:2021-11-12

    IPC分类号: H03M13/29 H04L1/00 H03M13/15

    摘要: A method includes: a first chip receives a first data stream from a second chip, where the first data stream is obtained through encoding by using a first forward error correction (FEC) code type; and the first chip re-encodes the first data stream at least once, to obtain a second data stream, where the second data stream is a concatenated FEC code stream obtained through encoding by using at least the first FEC code type and a second FEC code type. This application provides a concatenated coding scheme, so that a gain is higher, an FEC code type conversion process is simplified, a delay and device power consumption that are required during FEC code type conversion are reduced, and a data transmission distance and a data transmission rate are increased.

    Data processing method, data transmit end, and data receive end

    公开(公告)号:US11165556B2

    公开(公告)日:2021-11-02

    申请号:US16673364

    申请日:2019-11-04

    摘要: 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.

    Encoding and decoding methods, apparatuses, and devices

    公开(公告)号:US11121726B2

    公开(公告)日:2021-09-14

    申请号:US16993266

    申请日:2020-08-14

    摘要: This application provides an encoding method, comprising: encoding first data to generate a first encoded sequence; encoding second data to generate a second encoded sequence, where a quantity of bits comprised in the first data is greater than a quantity of bits comprised in the second data, and a quantity of bits comprised in the first encoded sequence is equal to a quantity of bits comprised in the second encoded sequence; generating a symbol sequence by performing a PAM-4 modulation on an input signal, the first encoded sequence corresponds to a high bit of the input signal, and the second encoded sequence corresponds to a low bit of the input signal; and sending the symbol sequence. The method helps reduce a quantity of redundant bits, helps improve a code rate, and can reduce redundant information carried in a modulated symbol sequence.

    Data sending method and forwarding device

    公开(公告)号:US10904141B2

    公开(公告)日:2021-01-26

    申请号:US16240398

    申请日:2019-01-04

    摘要: A data sending method, where the method includes receiving, by a forwarding device using a first flexible Ethernet (FlexE) group and in multiple timeslots included in a first timeslot set, multiple first encoded data blocks from a physical coding sublayer (PCS), determining, by the forwarding device according to the timeslots included in the first timeslot set and the first FlexE group, a second FlexE group and multiple timeslots included in a second timeslot set, and sending, by the forwarding device, the first encoded data blocks using the second FlexE group and in the timeslots included in the second timeslot set. The forwarding device does not need to process the first encoded data blocks in a conventional layer 2 or layer 3 forwarding mode. Therefore, a processing delay can be reduced, and a transmission delay can be reduced.

    Data Transmission Method and Forwarding Device

    公开(公告)号:US20210014000A1

    公开(公告)日:2021-01-14

    申请号:US17038790

    申请日:2020-09-30

    IPC分类号: H04L1/00 G06F11/10

    摘要: A method including a network device receives a plurality of fragments of an Ethernet frame, where the plurality of fragments include an initial fragment and a first fragment, and the initial fragment includes a destination media access control (MAC) address field, in response to an error that occurs in the Ethernet frame, changes the first fragment to a second fragment, where the second fragment includes second type indication information (TII) and second to-be-transmitted data (TBTD), the second TII indicates that a type of the second TBTD is a control character, a value of first TBTD is different from a value of the second TBTD, and the second TBTD indicates that an error occurs in the Ethernet frame, and the network device sends the second fragment to a destination device.