[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN115694739A - A data transmission device and method for Gigabit Ethernet - Google Patents

A data transmission device and method for Gigabit Ethernet Download PDF

Info

Publication number
CN115694739A
CN115694739A CN202211351370.0A CN202211351370A CN115694739A CN 115694739 A CN115694739 A CN 115694739A CN 202211351370 A CN202211351370 A CN 202211351370A CN 115694739 A CN115694739 A CN 115694739A
Authority
CN
China
Prior art keywords
data
module
data block
transmission device
mac
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
CN202211351370.0A
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.)
Accelink Technologies Co Ltd
State Grid Information and Telecommunication Co Ltd
Original Assignee
Accelink Technologies Co Ltd
State Grid Information and Telecommunication 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 Accelink Technologies Co Ltd, State Grid Information and Telecommunication Co Ltd filed Critical Accelink Technologies Co Ltd
Priority to CN202211351370.0A priority Critical patent/CN115694739A/en
Publication of CN115694739A publication Critical patent/CN115694739A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

The application provides a data transmission device and a data transmission method for a gigabit Ethernet, relates to the field of communication transmission, and can solve the problem of low construction cost of related technologies. The device includes: the first communication unit is used for receiving the client side data and generating MAC frame data according to the client side data; sending MAC frame data to a processing module; the processing module is used for receiving MAC frame data sent by the first communication unit; performing fixed-length slicing and Forward Error Correction (FEC) coding on MAC frame data to obtain at least one first data block; performing scrambling operation on at least one first data block to obtain at least one second data block; transmitting at least one second data block to a second communication unit; the second communication unit is used for receiving at least one second data block sent by the processing module and generating target transmission data according to the at least one second data block; the transmission target transmits data. The method and the device can improve the reliability of the link without changing the Ethernet transmission protocol.

Description

一种千兆以太网的数据传输装置及方法A data transmission device and method for Gigabit Ethernet

技术领域technical field

本申请涉及通信传输领域,尤其涉及一种千兆以太网的数据传输装置及方法。The present application relates to the field of communication transmission, in particular to a Gigabit Ethernet data transmission device and method.

背景技术Background technique

千兆以太网数据通常采用短波长(例如850nm波长)多模光纤或者长波长(例如1300nm波长)单模光纤进行数据传输,然而上述传输方式在远距离传输时的可靠性较差。Gigabit Ethernet data is usually transmitted using a short-wavelength (eg, 850nm wavelength) multimode fiber or a long-wavelength (eg, 1300nm wavelength) single-mode fiber for data transmission. However, the reliability of the above-mentioned transmission methods is poor in long-distance transmission.

目前,相关技术通常将数据由以太网协议转换为光传输网协议,从而通过光传输设备进行远距离传输,该方案无法沿用原有的数据传输链路,导致建设成本过高。At present, related technologies usually convert data from Ethernet protocol to optical transmission network protocol, so as to carry out long-distance transmission through optical transmission equipment. This solution cannot continue to use the original data transmission link, resulting in high construction costs.

发明内容Contents of the invention

本申请提供一种千兆以太网的数据传输装置及方法,能够提高以太网数据的传输可靠性,降低远距离传输链路的建设成本。The present application provides a Gigabit Ethernet data transmission device and method, which can improve the transmission reliability of Ethernet data and reduce the construction cost of long-distance transmission links.

为达到上述目的,本申请采用如下技术方案:In order to achieve the above object, the application adopts the following technical solutions:

第一方面,本申请提供一种数据传输装置,该装置包括:第一通信单元、处理模块以及第二通信单元;第一通信单元,用于接收客户侧数据,并根据客户侧数据生成介质访问控制MAC帧数据;向处理模块发送MAC帧数据;处理模块,用于接收第一通信单元发送的MAC帧数据;对MAC帧数据进行定长切片以及前向纠错FEC编码,得到至少一个第一数据块;对至少一个第一数据块进行加扰运算,得到至少一个第二数据块;向第二通信单元发送至少一个第二数据块;第二通信单元,用于接收处理模块发送的至少一个第二数据块,并根据至少一个第二数据块生成目标传输数据;发送目标传输数据。In a first aspect, the present application provides a data transmission device, which includes: a first communication unit, a processing module, and a second communication unit; the first communication unit is configured to receive client-side data and generate media access according to the client-side data Control the MAC frame data; send the MAC frame data to the processing module; the processing module is used to receive the MAC frame data sent by the first communication unit; perform fixed-length slicing and forward error correction FEC coding on the MAC frame data to obtain at least one first Data block; perform scrambling operation on at least one first data block to obtain at least one second data block; send at least one second data block to the second communication unit; the second communication unit is used to receive at least one sent by the processing module a second data block, and generating target transmission data according to at least one second data block; sending the target transmission data.

基于上述技术方案,本申请实施例中当第一通信单元接收到客户侧数据之后,可以将该客户侧数据生成MAC帧数据并发送至处理模块。处理模块可以将MAC帧数据切片为至少一个等长的数据块,并进行FEC编码,得到至少一个第一数据块,以便于接收数据的装置根据该FEC编码对接收到的网络数据进行误码纠错。同时,处理模块还可以对该至少一个第一数据块进行加扰运算,得到至少一个第二数据块,从而降低传输过程中的信号衰减带来的影响。之后,第二通信单元便可以根据该至少一个第二数据块生成目标传输数据,并发送目标传输数据。因此,本申请通过上述技术方案,在不改变以太网协议的情况下保障了远距离传输时的可靠性,从而能够沿用现有的数据传输链路进行以太网的远距离传输,降低了传输设备的建设成本。Based on the above technical solution, in the embodiment of the present application, after receiving the client-side data, the first communication unit may generate MAC frame data from the client-side data and send it to the processing module. The processing module can slice the MAC frame data into at least one equal-length data block, and perform FEC encoding to obtain at least one first data block, so that the device receiving data can perform error correction on the received network data according to the FEC encoding. wrong. At the same time, the processing module can also perform a scrambling operation on the at least one first data block to obtain at least one second data block, thereby reducing the impact of signal attenuation during transmission. Afterwards, the second communication unit can generate target transmission data according to the at least one second data block, and send the target transmission data. Therefore, the present application ensures the reliability of long-distance transmission without changing the Ethernet protocol through the above-mentioned technical solution, so that the existing data transmission link can be used for Ethernet long-distance transmission, reducing the cost of transmission equipment. construction cost.

结合上述第一方面,在一种可能的实现方式中,处理模块包括:异步先入先出模块、FEC编码模块以及加扰模块;异步先入先出模块,用于接收第一通信单元发送的MAC帧数据,并对MAC帧数据进行同步;向FEC编码模块发送同步后的MAC帧数据;FEC编码模块,用于接收异步先入先出模块发送的同步后的MAC帧数据,并对同步后的MAC帧数据定长切片以及FEC编码,得到至少一个第一数据块;向加扰模块发送至少一个第一数据块;加扰模块,用于接收FEC编码模块发送的至少一个第一数据块,并对至少一个第一数据块进行加扰运算,得到至少一个第二数据块;向第二通信单元发送至少一个第二数据块。In combination with the first aspect above, in a possible implementation manner, the processing module includes: an asynchronous first-in-first-out module, an FEC encoding module, and a scrambling module; an asynchronous first-in-first-out module, configured to receive the MAC frame sent by the first communication unit Data, and synchronize the MAC frame data; send the synchronized MAC frame data to the FEC encoding module; the FEC encoding module is used to receive the synchronized MAC frame data sent by the asynchronous first-in first-out module, and synchronize the MAC frame Data fixed-length slicing and FEC encoding to obtain at least one first data block; sending at least one first data block to the scrambling module; the scrambling module is used to receive at least one first data block sent by the FEC encoding module, and at least A scrambling operation is performed on a first data block to obtain at least one second data block; and the at least one second data block is sent to the second communication unit.

结合上述第一方面,在一种可能的实现方式中,FEC编码模块,具体用于:在MAC帧数据中添加数据帧头信息、帧长度信息以及填充数据,并进行定长切片,得到至少一个数据长度相同的数据块;对至少一个数据长度相同的数据块通过预设编码算法进行编码,得到至少一个第一数据块。In combination with the first aspect above, in a possible implementation, the FEC encoding module is specifically configured to: add data frame header information, frame length information, and padding data to the MAC frame data, and perform fixed-length slicing to obtain at least one Data blocks with the same data length; at least one data block with the same data length is encoded by a preset encoding algorithm to obtain at least one first data block.

结合上述第一方面,在一种可能的实现方式中,FEC编码模块包括里德所罗门RS编码器,RS编码器包括:多个乘法器、多个加法器、多个寄存器、反馈选择器以及选择开关。With reference to the first aspect above, in a possible implementation, the FEC encoding module includes a Reed-Solomon RS encoder, and the RS encoder includes: multiple multipliers, multiple adders, multiple registers, feedback selectors, and selection switch.

结合上述第一方面,在一种可能的实现方式中,加扰模块,具体用于:根据伪随机序列多项式生成伪随机序列;将伪随机序列进行异或运算,生成加扰多项式;根据加扰多项式与至少一个第一数据块确定至少一个第二数据块。In combination with the first aspect above, in a possible implementation manner, the scrambling module is specifically used to: generate a pseudo-random sequence according to a pseudo-random sequence polynomial; perform an XOR operation on the pseudo-random sequence to generate a scrambling polynomial; The polynomial and at least one first data block define at least one second data block.

结合上述第一方面,在一种可能的实现方式中,第一通信单元包括客户侧串行解串器和MAC模块;客户侧串行解串器,用于接收客户侧数据,对客户侧数据进行串并转换和解码,得到以太网数据;向MAC模块发送以太网数据;MAC模块,用于接收客户侧串行解串器发送的以太网数据,根据以太网数据,生成MAC帧数据;向处理模块发送MAC帧数据;第二通信单元,具体用于对至少一个第二数据块进行并串转换和编码,得到目标传输数据。In combination with the first aspect above, in a possible implementation manner, the first communication unit includes a client-side SerDes and a MAC module; the client-side SerDes is configured to receive client-side data, and Perform serial-to-parallel conversion and decoding to obtain Ethernet data; send Ethernet data to the MAC module; the MAC module is used to receive the Ethernet data sent by the client-side serial deserializer, and generate MAC frame data according to the Ethernet data; The processing module sends MAC frame data; the second communication unit is specifically configured to perform parallel-to-serial conversion and encoding on at least one second data block to obtain target transmission data.

结合上述第一方面,在一种可能的实现方式中,数据传输装置还包括接口控制模块;接口控制模块与MAC模块相连接;接口控制模块,用于向MAC模块发送控制指令;控制指令包括速率模式选择指令和/或接口接收发送使能指令;速率模式选择指令用于配置MAC模块的速率模式;接口接收发送使能指令用于指示MAC模块执行数据接收操作或者数据发送操作。In combination with the first aspect above, in a possible implementation manner, the data transmission device further includes an interface control module; the interface control module is connected to the MAC module; the interface control module is used to send a control instruction to the MAC module; the control instruction includes a rate The mode selection instruction and/or the interface receiving and sending enabling instruction; the rate mode selection instruction is used to configure the rate mode of the MAC module; the interface receiving and sending enabling instruction is used to instruct the MAC module to perform a data receiving operation or a data sending operation.

结合上述第一方面,在一种可能的实现方式中,MAC模块,还用于向接口控制模块发送统计数据;接口控制模块,用于接收MAC模块发送的统计数据。With reference to the first aspect above, in a possible implementation manner, the MAC module is further configured to send statistical data to the interface control module; the interface control module is configured to receive the statistical data sent by the MAC module.

结合上述第一方面,在一种可能的实现方式中,接口控制模块还与处理模块相连接;接口控制模块,用于向处理模块发送FEC使能指令;FEC使能指令用于指示处理模块执行FEC编解码操作。In combination with the first aspect above, in a possible implementation manner, the interface control module is also connected to the processing module; the interface control module is configured to send an FEC enabling instruction to the processing module; the FEC enabling instruction is used to instruct the processing module to execute FEC codec operation.

结合上述第一方面,在一种可能的实现方式中,数据传输装置还包括预设媒体独立接口;预设媒体独立接口用于连接客户侧串行解串器与MAC模块。With reference to the foregoing first aspect, in a possible implementation manner, the data transmission device further includes a preset media-independent interface; the preset media-independent interface is used to connect the client-side SerDes and the MAC module.

结合上述第一方面,在一种可能的实现方式中,客户侧串行解串器包括:第一物理介质连接子层PMA模块、第一物理编码子层PCS模块和第一时钟选择模块;第一PMA模块与第一时钟选择模块相连接;第一PMA模块与第一PCS模块相连接。With reference to the first aspect above, in a possible implementation manner, the client-side serial deserializer includes: a first physical medium connection sublayer PMA module, a first physical coding sublayer PCS module, and a first clock selection module; A PMA module is connected with the first clock selection module; the first PMA module is connected with the first PCS module.

结合上述第一方面,在一种可能的实现方式中,数据传输装置还包括预设媒体独立接口;预设媒体独立接口用于连接第一PCS模块与MAC模块。With reference to the first aspect above, in a possible implementation manner, the data transmission device further includes a preset media-independent interface; the preset media-independent interface is used to connect the first PCS module and the MAC module.

结合上述第一方面,在一种可能的实现方式中,第二通信单元包括:第二物理介质连接子层PMA模块、第二物理编码子层PCS模块和第二时钟选择模块;第二PMA模块与第二时钟选择模块相连接;第二PMA模块与第二PCS模块相连接。With reference to the first aspect above, in a possible implementation manner, the second communication unit includes: a second physical medium connection sublayer PMA module, a second physical coding sublayer PCS module, and a second clock selection module; the second PMA module It is connected with the second clock selection module; the second PMA module is connected with the second PCS module.

第二方面,本申请提供一种数据传输装置,该装置包括:第一通信单元、处理模块以及第二通信单元;第二通信单元,用于接收目标传输数据,并根据目标传输数据生成至少一个第二数据块;向处理模块发送至少一个第二数据块;处理模块,用于接收第二通信单元发送的至少一个第二数据块;对至少一个第二数据块进行解扰运算,得到至少一个第一数据块;对至少一个第一数据块进行前向纠错FEC解码并合并得到介质访问控制MAC帧数据;向第一通信单元发送MAC帧数据;第一通信单元,用于接收处理模块发送的MAC帧数据,并根据MAC帧数据,生成客户侧数据;发送客户侧数据。In a second aspect, the present application provides a data transmission device, which includes: a first communication unit, a processing module, and a second communication unit; the second communication unit is configured to receive target transmission data and generate at least one The second data block; sending at least one second data block to the processing module; the processing module is configured to receive at least one second data block sent by the second communication unit; perform a descrambling operation on at least one second data block to obtain at least one The first data block; perform forward error correction FEC decoding on at least one first data block and combine to obtain medium access control MAC frame data; send the MAC frame data to the first communication unit; the first communication unit is used to receive the processing module to send MAC frame data, and generate client-side data according to the MAC frame data; send client-side data.

结合上述第二方面,在一种可能的实现方式中,处理模块包括:异步先入先出模块、FEC解码模块以及解扰模块;解扰模块,用于接收第二通信单元发送的至少一个第二数据块;对至少一个第二数据块进行解扰运算,得到至少一个第一数据块;向FEC解码模块发送至少一个第一数据块;FEC解码模块,用于接收解扰模块发送的至少一个第一数据块,并对至少一个第一数据块进行FEC解码并合并得到MAC帧数据;向异步先入先出模块发送MAC帧数据;异步先入先出模块,用于接收异步先入先出模块发送的MAC帧数据,并对MAC帧数据进行同步;向第一通信单元发送同步后的MAC帧数据。With reference to the second aspect above, in a possible implementation manner, the processing module includes: an asynchronous first-in-first-out module, an FEC decoding module, and a descrambling module; the descrambling module is configured to receive at least one second message sent by the second communication unit. Data block; perform descrambling operation on at least one second data block to obtain at least one first data block; send at least one first data block to the FEC decoding module; FEC decoding module is used to receive at least one first data block sent by the descrambling module A data block, and perform FEC decoding on at least one first data block and combine to obtain MAC frame data; send MAC frame data to the asynchronous first-in-first-out module; asynchronous first-in-first-out module, used to receive the MAC sent by the asynchronous first-in-first-out module frame data, and synchronize the MAC frame data; and send the synchronized MAC frame data to the first communication unit.

结合上述第二方面,在一种可能的实现方式中,FEC解码模块包括:里德所罗门RS译码器;RS译码器用于对至少一个第一数据块进行FEC解码并合并得到MAC帧数据。With reference to the second aspect above, in a possible implementation manner, the FEC decoding module includes: a Reed-Solomon RS decoder; the RS decoder is configured to perform FEC decoding on at least one first data block and combine them to obtain MAC frame data.

结合上述第二方面,在一种可能的实现方式中,解扰模块,具体用于:根据伪随机序列多项式生成伪随机序列;将伪随机序列进行异或运算,生成解扰多项式;根据解扰多项式与至少一个第二数据块确定至少一个第一数据块。In combination with the second aspect above, in a possible implementation, the descrambling module is specifically used to: generate a pseudo-random sequence according to the pseudo-random sequence polynomial; perform an XOR operation on the pseudo-random sequence to generate a descrambling polynomial; The polynomial and at least one second data block define at least one first data block.

结合上述第二方面,在一种可能的实现方式中,第一通信单元包括客户侧串行解串器和MAC模块;MAC模块,用于接收处理模块发送的MAC帧数据,并根据MAC帧数据,生成以太网数据;向客户侧串行解串器发送以太网数据;客户侧串行解串器,用于接收MAC模块发送的以太网数据,并对以太网数据进行并串转换和编码,得到客户侧数据;发送客户侧数据;第二通信单元,具体用于对目标传输数据进行串并转换和解码,得到至少一个第二数据块。In combination with the second aspect above, in a possible implementation manner, the first communication unit includes a client-side SerDes and a MAC module; the MAC module is configured to receive the MAC frame data sent by the processing module, and , generate Ethernet data; send Ethernet data to the client-side serial deserializer; the client-side serial deserializer is used to receive the Ethernet data sent by the MAC module, and perform parallel conversion and encoding on the Ethernet data, Obtaining client-side data; sending client-side data; the second communication unit is specifically configured to perform serial-to-parallel conversion and decoding on the target transmission data to obtain at least one second data block.

结合上述第二方面,在一种可能的实现方式中,数据传输装置还包括接口控制模块;接口控制模块与MAC模块相连接;接口控制模块,用于向MAC模块发送控制指令;控制指令包括速率模式选择指令和/或接口接收发送使能指令;速率模式选择指令用于配置MAC模块的速率模式;接口接收发送使能指令用于指示MAC模块执行数据接收操作或者数据发送操作。In combination with the second aspect above, in a possible implementation manner, the data transmission device further includes an interface control module; the interface control module is connected to the MAC module; the interface control module is used to send a control instruction to the MAC module; the control instruction includes a rate The mode selection instruction and/or the interface receiving and sending enabling instruction; the rate mode selection instruction is used to configure the rate mode of the MAC module; the interface receiving and sending enabling instruction is used to instruct the MAC module to perform a data receiving operation or a data sending operation.

结合上述第二方面,在一种可能的实现方式中,MAC模块,还用于向接口控制模块发送统计数据;接口控制模块,用于接收MAC模块发送的统计数据。With reference to the second aspect above, in a possible implementation manner, the MAC module is further configured to send statistical data to the interface control module; the interface control module is configured to receive the statistical data sent by the MAC module.

结合上述第二方面,在一种可能的实现方式中,接口控制模块还与处理模块相连接;接口控制模块,用于向处理模块发送FEC使能指令;FEC使能指令用于指示处理模块执行FEC编解码操作。In combination with the second aspect above, in a possible implementation manner, the interface control module is also connected to the processing module; the interface control module is configured to send an FEC enabling instruction to the processing module; the FEC enabling instruction is used to instruct the processing module to execute FEC codec operation.

结合上述第二方面,在一种可能的实现方式中,数据传输装置还包括预设媒体独立接口;预设媒体独立接口用于连接客户侧串行解串器与MAC模块。With reference to the second aspect above, in a possible implementation manner, the data transmission device further includes a preset media-independent interface; the preset media-independent interface is used to connect the client-side SerDes and the MAC module.

结合上述第二方面,在一种可能的实现方式中,客户侧串行解串器包括:第一物理介质连接子层PMA模块、第一物理编码子层PCS模块和第一时钟选择模块;第一PMA模块与第一时钟选择模块相连接;第一PMA模块与第一PCS模块相连接。With reference to the second aspect above, in a possible implementation manner, the client-side serial deserializer includes: a first physical medium connection sublayer PMA module, a first physical coding sublayer PCS module, and a first clock selection module; A PMA module is connected with the first clock selection module; the first PMA module is connected with the first PCS module.

结合上述第二方面,在一种可能的实现方式中,数据传输装置还包括预设媒体独立接口;预设媒体独立接口用于连接第一PCS模块与MAC模块。With reference to the second aspect above, in a possible implementation manner, the data transmission device further includes a preset media-independent interface; the preset media-independent interface is used to connect the first PCS module and the MAC module.

结合上述第二方面,在一种可能的实现方式中,第二通信单元包括:第二物理介质连接子层PMA模块、第二物理编码子层PCS模块和第二时钟选择模块;第二PMA模块与第二时钟选择模块相连接;第二PMA模块与第二PCS模块相连接。With reference to the second aspect above, in a possible implementation manner, the second communication unit includes: a second physical medium connection sublayer PMA module, a second physical coding sublayer PCS module, and a second clock selection module; the second PMA module It is connected with the second clock selection module; the second PMA module is connected with the second PCS module.

第三方面,本申请提供一种数据传输方法,该方法包括:接收客户侧数据,并根据客户侧数据生成MAC帧数据;对MAC帧数据进行定长切片以及前向纠错FEC编码,得到至少一个第一数据块;对至少一个第一数据块进行加扰运算,得到至少一个第二数据块;根据至少一个第二数据块生成目标传输数据,并发送目标传输数据。In a third aspect, the present application provides a data transmission method, the method comprising: receiving client-side data, and generating MAC frame data according to the client-side data; performing fixed-length slicing and forward error correction FEC coding on the MAC frame data to obtain at least A first data block; performing a scrambling operation on at least one first data block to obtain at least one second data block; generating target transmission data according to the at least one second data block, and sending the target transmission data.

第四方面,本申请提供一种数据传输方法,该方法包括:接收目标传输数据,并根据目标传输数据生成至少一个第二数据块;对至少一个第二数据块进行解扰运算,得到至少一个第一数据块;对至少一个第一数据块进行前向纠错FEC解码并合并得到MAC帧数据;根据MAC帧数据,生成客户侧数据,并发送客户侧数据。In a fourth aspect, the present application provides a data transmission method, the method comprising: receiving target transmission data, and generating at least one second data block according to the target transmission data; performing a descrambling operation on at least one second data block to obtain at least one The first data block; performing forward error correction FEC decoding on at least one first data block and merging to obtain MAC frame data; generating client-side data according to the MAC frame data, and sending the client-side data.

第五方面,本申请提供一种数据传输装置,该装置包括通信单元和处理单元;通信单元,用于接收客户侧数据;处理单元,用于根据客户侧数据生成MAC帧数据;对MAC帧数据进行定长切片以及前向纠错FEC编码,得到至少一个第一数据块;对至少一个第一数据块进行加扰运算,得到至少一个第二数据块;根据至少一个第二数据块生成目标传输数据;通信单元,还用于发送目标传输数据。In a fifth aspect, the present application provides a data transmission device, which includes a communication unit and a processing unit; the communication unit is used to receive client-side data; the processing unit is used to generate MAC frame data according to the client-side data; performing fixed-length slicing and FEC coding to obtain at least one first data block; performing scrambling operations on at least one first data block to obtain at least one second data block; generating target transmission based on at least one second data block Data; communication unit, also used to send target transmission data.

第六方面,本申请提供一种数据传输装置,该装置包括通信单元和处理单元;通信单元,用于接收目标传输数据;处理单元,用于根据目标传输数据生成至少一个第二数据块;对至少一个第二数据块进行解扰运算,得到至少一个第一数据块;对至少一个第一数据块进行前向纠错FEC解码并合并得到MAC帧数据;根据MAC帧数据,生成客户侧数据;通信单元,还用于发送客户侧数据。In a sixth aspect, the present application provides a data transmission device, which includes a communication unit and a processing unit; the communication unit is used to receive target transmission data; the processing unit is used to generate at least one second data block according to the target transmission data; performing a descrambling operation on at least one second data block to obtain at least one first data block; performing forward error correction (FEC) decoding on at least one first data block and merging to obtain MAC frame data; generating client-side data according to the MAC frame data; The communication unit is also used to send client-side data.

第七方面,本申请提供了一种数据传输装置,该装置包括:处理器和通信接口;通信接口和处理器耦合,处理器用于运行计算机程序或指令,以实现如第三方面或第四方面中所描述的数据传输方法。In a seventh aspect, the present application provides a data transmission device, the device includes: a processor and a communication interface; the communication interface is coupled to the processor, and the processor is used to run computer programs or instructions, so as to implement the third aspect or the fourth aspect The data transfer method described in .

第八方面,本申请提供了一种计算机可读存储介质,计算机可读存储介质中存储有指令,当指令在终端上运行时,使得终端执行如第三方面或第四方面中描述的数据传输方法。In the eighth aspect, the present application provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions are run on the terminal, the terminal is made to perform the data transmission as described in the third aspect or the fourth aspect method.

第九方面,本申请提供一种包含指令的计算机程序产品,当计算机程序产品在数据传输装置上运行时,使得数据传输装置执行如第三方面或第四方面中所描述的数据传输方法。In a ninth aspect, the present application provides a computer program product containing instructions, which, when the computer program product is run on a data transmission device, cause the data transmission device to execute the data transmission method described in the third aspect or the fourth aspect.

第十方面,本申请提供一种芯片,芯片包括处理器和通信接口,通信接口和处理器耦合,处理器用于运行计算机程序或指令,以实现如第三方面或第四方面中所描述的数据传输方法。In a tenth aspect, the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run computer programs or instructions to implement the data as described in the third aspect or the fourth aspect. transfer method.

具体的,本申请中提供的芯片还包括存储器,用于存储计算机程序或指令。Specifically, the chip provided in this application further includes a memory for storing computer programs or instructions.

需要说明的是,上述计算机指令可以全部或者部分存储在计算机可读存储介质上。其中,计算机可读存储介质可以与装置的处理器封装在一起的,也可以与装置的处理器单独封装,本申请对此不作限定。It should be noted that all or part of the above computer instructions may be stored on a computer-readable storage medium. Wherein, the computer-readable storage medium may be packaged together with the processor of the device, or may be packaged separately with the processor of the device, which is not limited in the present application.

本申请中第二方面至第十方面的描述,可以参考第一方面的详细描述;并且,第二方面至第十方面的描述的有益效果,可以参考第一方面的有益效果分析,此处不再赘述。For the descriptions from the second aspect to the tenth aspect in this application, you can refer to the detailed description of the first aspect; Let me repeat.

在本申请中,上述数据传输装置的名字对设备或功能模块本身不构成限定,在实际实现中,这些设备或功能模块可以以其他名称出现。只要各个设备或功能模块的功能和本申请类似,属于本申请权利要求及其等同技术的范围之内。In this application, the names of the above-mentioned data transmission devices do not limit the equipment or functional modules themselves. In actual implementation, these equipment or functional modules may appear with other names. As long as the functions of each device or functional module are similar to those of the present application, they fall within the scope of the claims of the present application and their equivalent technologies.

本申请的这些方面或其他方面在以下的描述中会更加简明易懂。These or other aspects of the present application will be more clearly understood in the following description.

附图说明Description of drawings

图1为本申请实施例提供的一种数据传输系统的系统架构图;FIG. 1 is a system architecture diagram of a data transmission system provided by an embodiment of the present application;

图2为本申请实施例提供的一种数据传输装置的结构图;FIG. 2 is a structural diagram of a data transmission device provided in an embodiment of the present application;

图3为本申请实施例提供的一种RS编码器的结构图;FIG. 3 is a structural diagram of an RS encoder provided in an embodiment of the present application;

图4为本申请实施例提供的一种客户侧串行解串器上行传输的流程图;FIG. 4 is a flow chart of uplink transmission of a client-side SerDes provided by an embodiment of the present application;

图5为本申请实施例提供的一种RS译码器的结构示意图;FIG. 5 is a schematic structural diagram of an RS decoder provided in an embodiment of the present application;

图6为本申请实施例提供的一种客户侧串行解串器下行传输的流程图;FIG. 6 is a flowchart of downlink transmission of a client-side SerDes provided by an embodiment of the present application;

图7为本申请实施例提供的一种数据传输方法的流程图;FIG. 7 is a flowchart of a data transmission method provided by an embodiment of the present application;

图8为本申请实施例提供的另一种数据传输方法的流程图;FIG. 8 is a flow chart of another data transmission method provided by the embodiment of the present application;

图9为本申请实施例提供的另一种数据传输装置的结构图;FIG. 9 is a structural diagram of another data transmission device provided by an embodiment of the present application;

图10为本申请实施例提供的另一种数据传输装置的结构图。FIG. 10 is a structural diagram of another data transmission device provided by an embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本申请保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。The term "and/or" in this article is just an association relationship describing associated objects, which means that there can be three relationships, for example, A and/or B can mean: A exists alone, A and B exist simultaneously, and there exists alone B these three situations.

本申请的说明书以及附图中的术语“第一”和“第二”等是用于区别不同的对象,或者用于区别对同一对象的不同处理,而不是用于描述对象的特定顺序。The terms "first" and "second" in the specification and drawings of the present application are used to distinguish different objects, or to distinguish different processes for the same object, rather than to describe a specific sequence of objects.

此外,本申请的描述中所提到的术语“包括”和“具有”以及它们的任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括其他没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。In addition, the terms "including" and "having" mentioned in the description of the present application and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes other unlisted steps or units, or optionally also includes Other steps or elements inherent to the process, method, product or apparatus are included.

需要说明的是,本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。It should be noted that, in the embodiments of the present application, words such as "exemplary" or "for example" are used as examples, illustrations or descriptions. Any embodiment or design scheme described as "exemplary" or "for example" in the embodiments of the present application shall not be interpreted as being more preferred or more advantageous than other embodiments or design schemes. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete manner.

在本申请的描述中,除非另有说明,“多个”的含义是指两个或两个以上。In the description of the present application, unless otherwise specified, the meaning of "plurality" refers to two or more.

以下,对本申请实施例涉及的名词进行解释,以方便读者理解。In the following, nouns involved in the embodiments of the present application are explained for the convenience of readers' understanding.

(1)异或运算(1) XOR operation

异或运算是一种逻辑运算,当a与b的值不同时,a与b的异或运算结果为1。当a与b的值相同时,a与b的异或运算结果为0。The XOR operation is a logical operation. When the values of a and b are different, the result of the XOR operation of a and b is 1. When the values of a and b are the same, the XOR operation result of a and b is 0.

示例性的,在二进制中,0与0的异或运算结果为0,0与1的异或运算结果为1,1与1的异或运算结果为1。Exemplarily, in binary, the XOR operation result of 0 and 0 is 0, the XOR operation result of 0 and 1 is 1, and the XOR operation result of 1 and 1 is 1.

千兆以太网(gigabit ethernet,GE)数据传输通常采用千兆以太网技术的标准IEEE802.3z的1000BASE-X规范,该1000BASE-X规范包括两种方案:1000BASE-SX和1000BASE-LX。其中,1000BASE-SX使用短波长(850nm)多模光纤,其定义的千兆比特数据流传输的最长距离为550米,主要适用于范围较小的主干网。1000BASE-LX使用长波长(1300nm)单模光纤,其定义的千兆比特数据流的最长距离为5公里。然而,上述传输方式在远距离传输时的可靠性较差。Gigabit Ethernet (gigabit ethernet, GE) data transmission generally adopts the 1000BASE-X specification of the standard IEEE802.3z of the Gigabit Ethernet technology, and the 1000BASE-X specification includes two schemes: 1000BASE-SX and 1000BASE-LX. Among them, 1000BASE-SX uses short-wavelength (850nm) multimode fiber, and the longest transmission distance of the gigabit data stream defined by it is 550 meters, which is mainly suitable for backbone networks with a small range. 1000BASE-LX uses long-wavelength (1300nm) single-mode fiber, which defines a maximum distance of 5 kilometers for a gigabit data stream. However, the above-mentioned transmission methods are less reliable in long-distance transmission.

目前,相关技术通常将千兆以太网数据汇聚成2.5G以上的数据传输业务,由以太网协议转换为光传送网(optical transport network,OTN)协议,从而通过光传送设备进行远距离传输,该方案无法沿用原有传输系统,导致建设成本过高。At present, related technologies usually aggregate Gigabit Ethernet data into data transmission services above 2.5G, and convert the Ethernet protocol into an optical transport network (OTN) protocol, so as to perform long-distance transmission through optical transport equipment. The scheme cannot continue to use the original transmission system, resulting in high construction costs.

鉴于此,本申请实施例提供了一种数据传输装置,当第一通信单元接收到客户侧数据之后,可以将该客户侧数据生成介质访问控制(media access control,MAC)帧数据并发送至处理模块。处理模块可以将MAC帧数据切片为至少一个等长的数据块,并进行前向纠错(forward error correction,FEC)编码,得到至少一个第一数据块,以便于接收数据的装置根据该FEC编码对接收到的网络数据进行误码纠错。同时,处理模块还可以对该至少一个第一数据块进行加扰运算,得到至少一个第二数据块,从而降低传输过程中的信号衰减带来的影响。之后,第二通信单元便可以根据该至少一个第二数据块生成目标传输数据,并发送目标传输数据。因此,本申请通过上述技术方案,在不改变以太网协议的情况下保障了远距离传输时的可靠性,从而能够沿用现有的数据传输链路进行以太网的远距离传输,降低了传输设备的建设成本。In view of this, an embodiment of the present application provides a data transmission device. After the first communication unit receives the client-side data, it can generate a medium access control (media access control, MAC) frame data from the client-side data and send it to the processing module. The processing module can slice the MAC frame data into at least one equal-length data block, and perform forward error correction (forward error correction, FEC) coding to obtain at least one first data block, so that the device receiving data is coded according to the FEC Error correction is performed on the received network data. At the same time, the processing module can also perform a scrambling operation on the at least one first data block to obtain at least one second data block, thereby reducing the impact of signal attenuation during transmission. Afterwards, the second communication unit can generate target transmission data according to the at least one second data block, and send the target transmission data. Therefore, the present application ensures the reliability of long-distance transmission without changing the Ethernet protocol through the above-mentioned technical solution, so that the existing data transmission link can be used for Ethernet long-distance transmission, reducing the cost of transmission equipment. construction cost.

下面将结合说明书附图,对本申请实施例的实施方式进行详细描述。The implementation of the embodiment of the present application will be described in detail below in conjunction with the accompanying drawings.

如图1所示,图1为本申请实施例提供的一种数据传输系统10的系统架构图。该数据传输系统10包括:数据传输装置101和终端设备102。其中,终端设备102与数据传输装置101相连接,数据传输装置101之间相连接。As shown in FIG. 1 , FIG. 1 is a system architecture diagram of a data transmission system 10 provided in an embodiment of the present application. The data transmission system 10 includes: a data transmission device 101 and a terminal device 102 . Wherein, the terminal device 102 is connected to the data transmission device 101 , and the data transmission devices 101 are connected to each other.

需要说明的是,数据传输系统10可以为分布式网络,实现多个终端设备102之间的网络通信,为便于理解,图1中仅示出了两个终端设备102。It should be noted that the data transmission system 10 may be a distributed network to implement network communication between multiple terminal devices 102 , and for ease of understanding, only two terminal devices 102 are shown in FIG. 1 .

本申请实施例中的数据传输装置101可以设置于数据传输系统10中传输链路的两侧,与终端设备102相连接。此时,位于两侧的数据传输装置101之间还可以包括中继设备。中继设备用于转发传输链路中的数据。The data transmission apparatus 101 in the embodiment of the present application may be arranged on both sides of the transmission link in the data transmission system 10 and connected to the terminal device 102 . At this time, a relay device may also be included between the data transmission apparatuses 101 on both sides. The relay device is used to forward the data in the transmission link.

数据传输装置101还可以作为中继设备设置于传输链路中,此时该数据传输装置101与其他数据传输装置101相连接。The data transmission device 101 can also be set in a transmission link as a relay device, at this time, the data transmission device 101 is connected to other data transmission devices 101 .

此外,该数据传输装置101可作为双向传输装置,既可以从数据传输装置101的第一端接收数据,并由第二端发送数据;数据传输装置101还可以由第二端接收数据,并由第一端发送数据。In addition, the data transmission device 101 can be used as a two-way transmission device, which can receive data from the first end of the data transmission device 101 and send data through the second end; The first end sends data.

示例性的,本申请中的传输链路可以为千兆以太网的数据传输链路,上述方案还可适用于其他以太网的数据传输链路中,本申请对此不作限定。Exemplarily, the transmission link in this application may be a Gigabit Ethernet data transmission link, and the above-mentioned solution is also applicable to other Ethernet data transmission links, which is not limited in this application.

其中,本申请实施例中的数据传输过程涉及上行传输和下行传输。上行传输过程是指终端设备102向数据传输装置101发送数据,数据传输装置将数据发送至远端设备(例如另一个数据传输装置101或者另一个终端设备102)的过程。下行传输过程是指数据传输装置101接收远端设备发送的数据,并发送至终端设备102的过程。Wherein, the data transmission process in the embodiment of the present application involves uplink transmission and downlink transmission. The uplink transmission process refers to a process in which the terminal device 102 sends data to the data transmission device 101, and the data transmission device sends the data to a remote device (such as another data transmission device 101 or another terminal device 102). The downlink transmission process refers to the process in which the data transmission device 101 receives the data sent by the remote device and sends it to the terminal device 102 .

以下针对上行传输过程,对本申请实施例提供的技术方案进行说明:The following describes the technical solution provided by the embodiment of the present application for the uplink transmission process:

终端设备102用于向数据传输装置101发送客户侧数据。相应的,数据传输装置101用于接收终端设备102发送的客户侧数据。The terminal device 102 is configured to send client-side data to the data transmission device 101 . Correspondingly, the data transmission device 101 is configured to receive client-side data sent by the terminal device 102 .

数据传输装置101用于根据客户侧数据生成MAC帧数据。The data transmission device 101 is configured to generate MAC frame data according to client side data.

其中,MAC帧数据即为符合以太网报文格式标准的传输数据。Wherein, the MAC frame data is transmission data conforming to the Ethernet message format standard.

示例性的,MAC帧数据包括目的地址、源地址、数据类型、数据内容等。Exemplarily, the MAC frame data includes destination address, source address, data type, data content and so on.

数据传输装置101还用于对MAC帧数据进行定长切片以及前向纠错FEC编码,得到至少一个第一数据块。The data transmission device 101 is further configured to perform fixed-length slicing and FEC coding on the MAC frame data to obtain at least one first data block.

一种可能的实现方式中,数据传输装置101可以在MAC帧数据帧中添加数据帧头信息、帧长度信息以及填充数据,并进行定长切片,得到至少一个数据长度相同的数据块,并对至少一个数据长度相同的数据块通过预设编码算法进行编码,得到至少一个第一数据块。In a possible implementation manner, the data transmission device 101 may add data frame header information, frame length information, and padding data to the MAC frame data frame, and perform fixed-length slicing to obtain at least one data block with the same data length, and At least one data block with the same data length is encoded by a preset encoding algorithm to obtain at least one first data block.

示例性的,每个第一数据块的数据长度可以为255字节。其中,239字节为MAC帧数据进行定长切片后得到的数据块的数据长度,16字节为编码所需的开销字段。该开销字段用于对239字节对应的实际数据进行纠错,从而避免数据传输错误。通信装置在接收到数据后便可以根据该16字节对应的开销字段检测对应的239字节的数据是否发生数据错误,并在发生数据错误的情况下恢复正确数据。Exemplarily, the data length of each first data block may be 255 bytes. Among them, 239 bytes are the data length of the data block obtained by performing fixed-length slicing on the MAC frame data, and 16 bytes are the overhead fields required for encoding. The overhead field is used to correct the actual data corresponding to 239 bytes, so as to avoid data transmission errors. After receiving the data, the communication device can detect whether a data error occurs in the corresponding 239-byte data according to the overhead field corresponding to the 16 bytes, and restore correct data in the case of a data error.

数据传输装置101还用于对至少一个第一数据块进行加扰运算,得到至少一个第二数据块以及根据至少一个第二数据块生成目标传输数据。The data transmission device 101 is further configured to perform a scrambling operation on at least one first data block to obtain at least one second data block and generate target transmission data according to the at least one second data block.

需要说明的是,传输数据通常以二进制的形式在通信链路中传输,当一组数据中出现较长的连续的“0”或者连续的“1”时,实际体现为持续的高电平或者持续的低电平,这就导致信号衰减后,接收装置难以识别数据实际的信号以及难以进行时钟对齐,导致错位。因此,数据传输装置101通过对该至少一个第一数据块进行加扰运算,使得数据中的“0”和“1”分布较为均匀,从而提高数据在传输过程中的可靠性。It should be noted that the transmission data is usually transmitted in the communication link in binary form. When a long continuous "0" or continuous "1" appears in a set of data, it is actually reflected as a continuous high level or Continuous low level, which leads to signal attenuation, it is difficult for the receiving device to identify the actual signal of the data and it is difficult to perform clock alignment, resulting in misalignment. Therefore, the data transmission device 101 performs a scrambling operation on the at least one first data block, so that the distribution of "0" and "1" in the data is relatively uniform, thereby improving the reliability of the data during transmission.

示例性的,第一数据块的数据序列为“11000”,加扰运算所需的扰码为“10101”,数据传输装置101将第一数据块的数据序列与扰码进行异或运算,得到加扰后的第一数据块的数据序列为“01101”。Exemplarily, the data sequence of the first data block is "11000", and the scrambling code required for the scrambling operation is "10101", and the data transmission device 101 performs an XOR operation on the data sequence of the first data block and the scrambling code to obtain The data sequence of the first data block after scrambling is "01101".

数据传输装置101还用于向远端设备发送目标传输数据。相应的。远端设备用于接收数据传输装置101发送的目标传输数据。The data transmission device 101 is also used for sending the target transmission data to the remote device. corresponding. The remote device is used for receiving the target transmission data sent by the data transmission device 101 .

以下针对下行传输过程,对本申请实施例提供的技术方案进行说明:The following describes the technical solution provided by the embodiment of the present application for the downlink transmission process:

远端设备用于向数据传输装置101发送目标传输数据。相应的,通信传输设置101用于接收远端设备发送的目标传输数据。The remote device is used to send target transmission data to the data transmission device 101 . Correspondingly, the communication transmission setting 101 is used to receive the target transmission data sent by the remote device.

通信传输设置101还用于根据目标传输数据生成至少一个第二数据块。The communication transmission arrangement 101 is further configured to generate at least one second data block according to the target transmission data.

通信传输设置101还用于对至少一个第二数据块进行解扰运算,得到至少一个第一数据块。The communication transmission setting 101 is further configured to perform a descrambling operation on at least one second data block to obtain at least one first data block.

其中,解扰运算为加扰运算的逆操作,即通过与加扰运算相同的扰码以及加扰后的数据序列进行异或运算,得到解扰后的数据序列。Wherein, the descrambling operation is an inverse operation of the scrambling operation, that is, the same scrambling code as the scrambling operation and the scrambled data sequence are used to perform an exclusive OR operation to obtain the descrambled data sequence.

结合上述示例,扰码为“10101”,加扰后的第一数据块的数据序列为“01101”,数据传输装置101将扰码与加扰后的数据序列进行异或运算,得到解扰后的第一数据块的数据序列为“11000”。In combination with the above example, the scrambling code is "10101", the data sequence of the first data block after scrambling is "01101", and the data transmission device 101 performs an XOR operation on the scrambling code and the scrambled data sequence to obtain The data sequence of the first data block is "11000".

通信传输设置101还用于对至少一个第一数据块进行前向纠错FEC解码并合并得到MAC帧数据。The communication transmission setting 101 is further configured to perform forward error correction (FEC) decoding on at least one first data block and combine them to obtain MAC frame data.

结合上述示例,通信传输设置101通过开销字段对第一数据块中的实际数据进行纠错,从而得到FEC解码后的至少一个数据长度相同的数据块,并将该至少一个数据长度相同的数据块合并得到MAC帧数据。With reference to the above example, the communication transmission setting 101 performs error correction on the actual data in the first data block through the overhead field, so as to obtain at least one data block with the same data length after FEC decoding, and convert the at least one data block with the same data length Combine to get MAC frame data.

通信传输设置101还用于根据MAC帧数据生成客户侧数据,并向终端设备102发送该客户侧数据。相应的,终端设备102用于接收客户侧数据。The communication transmission setting 101 is also used to generate client-side data according to the MAC frame data, and send the client-side data to the terminal device 102 . Correspondingly, the terminal device 102 is used to receive client-side data.

需要指出的是,本申请各实施例之间可以相互借鉴或参考,例如,相同或相似的步骤,方法实施例、系统实施例和装置实施例之间,均可以相互参考,不予限制。It should be pointed out that the various embodiments of the present application may refer to each other, for example, the same or similar steps, method embodiments, system embodiments and device embodiments may refer to each other without limitation.

作为本申请的一种可能的实施例,如图2所示,图2为本申请实施例提供的一种数据传输装置20的结构图。该数据传输装置20包括第一通信单元201、处理模块202以及第二通信单元203。As a possible embodiment of the present application, as shown in FIG. 2 , FIG. 2 is a structural diagram of a data transmission device 20 provided in an embodiment of the present application. The data transmission device 20 includes a first communication unit 201 , a processing module 202 and a second communication unit 203 .

其中,第一通信单元201与处理模块202相连接,处理模块202与第二通信单元203相连接。Wherein, the first communication unit 201 is connected to the processing module 202 , and the processing module 202 is connected to the second communication unit 203 .

本申请实施例中的数据传输装置20用于数据的上行传输过程以及下行传输过程,以下针对上述两种过程分别对本申请实施例提供的数据传输装置20进行说明。The data transmission device 20 in the embodiment of the present application is used for the uplink transmission process and the downlink transmission process of data, and the data transmission device 20 provided in the embodiment of the present application will be respectively described below for the above two processes.

对于数据的上行传输过程:For the uplink transmission process of data:

第一通信单元201用于接收客户侧数据,并根据客户侧数据生成介质访问控制MAC帧数据。The first communication unit 201 is configured to receive client-side data, and generate medium access control MAC frame data according to the client-side data.

其中,MAC帧数据即为符合以太网报文格式标准的传输数据。Wherein, the MAC frame data is transmission data conforming to the Ethernet message format standard.

示例性的,MAC帧数据包括目的地址、源地址、数据类型、数据内容等。Exemplarily, the MAC frame data includes destination address, source address, data type, data content and so on.

第一通信单元201还用于向处理模块202发送MAC帧数据。相应的,处理模块202用于接收第一通信单元201发送的MAC帧数据。The first communication unit 201 is also configured to send MAC frame data to the processing module 202 . Correspondingly, the processing module 202 is configured to receive the MAC frame data sent by the first communication unit 201 .

处理模块202还用于对MAC帧数据进行定长切片以及前向纠错FEC编码,得到至少一个第一数据块。The processing module 202 is further configured to perform fixed-length slicing and FEC coding on the MAC frame data to obtain at least one first data block.

其中,第一数据块包括开销字段,该开销字段用于检测第一数据块在传输过程中是否发送错误。Wherein, the first data block includes an overhead field, and the overhead field is used to detect whether the first data block is sent incorrectly during transmission.

处理模块202还用于对至少一个第一数据块进行加扰运算,得到至少一个第二数据块。The processing module 202 is further configured to perform a scrambling operation on at least one first data block to obtain at least one second data block.

需要说明的是,传输数据通常以二进制的形式在通信链路中传输,当一组数据中出现较长的连续的“1”或者连续的“0”时,实际体现为持续的高电平或者持续的低电平,这就导致信号衰减后,接收装置难以识别数据实际的信号以及难以进行时钟对齐,导致错位。因此,处理模块202通过对该至少一个第一数据块进行加扰运算,使得数据中的“1”和“0”分布较为均匀,从而提高数据在传输过程中的可靠性。It should be noted that the transmission data is usually transmitted in the communication link in binary form. When a long continuous "1" or continuous "0" appears in a group of data, it is actually reflected as a continuous high level or Continuous low level, which leads to signal attenuation, it is difficult for the receiving device to identify the actual signal of the data and it is difficult to perform clock alignment, resulting in misalignment. Therefore, the processing module 202 performs a scrambling operation on the at least one first data block, so that the "1" and "0" in the data are evenly distributed, thereby improving the reliability of the data during transmission.

示例性的,第一数据块的数据序列为“11000”,加扰运算所需的扰码为“10101”,处理模块202将第一数据块的数据序列与扰码进行异或运算,得到加扰后的第一数据块的数据序列为“01101”。Exemplarily, the data sequence of the first data block is "11000", the scrambling code required for the scrambling operation is "10101", the processing module 202 performs an XOR operation on the data sequence of the first data block and the scrambling code, and obtains The data sequence of the scrambled first data block is "01101".

处理模块202还用于向第二通信单元203发送至少一个第二数据块。相应的,第二通信单元203用于接收处理模块202发送的至少一个第二数据块。The processing module 202 is further configured to send at least one second data block to the second communication unit 203 . Correspondingly, the second communication unit 203 is configured to receive at least one second data block sent by the processing module 202 .

第二通信单元203还用于根据至少一个第二数据块生成目标传输数据。The second communication unit 203 is further configured to generate target transmission data according to at least one second data block.

第二通信单元203还用于发送目标传输数据。The second communication unit 203 is also used for sending target transmission data.

基于上述技术方案,本申请实施例中当第一通信单元201接收到客户侧数据之后,可以将该客户侧数据生成MAC帧数据并发送至处理模块202。处理模块202可以将MAC帧数据切片为至少一个等长的数据块,并进行FEC编码,得到至少一个第一数据块,以便于接收数据的装置根据该FEC编码对接收到的网络数据进行误码纠错。同时,处理模块202还可以对该至少一个第一数据块进行加扰运算,得到至少一个第二数据块,从而降低传输过程中的信号衰减带来的影响。之后,第二通信单元203便可以根据该至少一个第二数据块生成目标传输数据,并发送目标传输数据。因此,本申请通过上述技术方案,在不改变以太网协议的情况下保障了远距离传输时的可靠性,从而能够沿用现有的数据传输链路进行以太网的远距离传输,降低了传输设备的建设成本。Based on the above technical solution, in the embodiment of the present application, after receiving the client-side data, the first communication unit 201 may generate MAC frame data from the client-side data and send it to the processing module 202 . The processing module 202 can slice the MAC frame data into at least one equal-length data block, and perform FEC encoding to obtain at least one first data block, so that the device receiving data can perform bit error on the received network data according to the FEC encoding Error correction. At the same time, the processing module 202 may also perform a scrambling operation on the at least one first data block to obtain at least one second data block, thereby reducing the impact of signal attenuation during transmission. Afterwards, the second communication unit 203 may generate target transmission data according to the at least one second data block, and send the target transmission data. Therefore, the present application ensures the reliability of long-distance transmission without changing the Ethernet protocol through the above-mentioned technical solution, so that the existing data transmission link can be used for Ethernet long-distance transmission, reducing the cost of transmission equipment. construction cost.

作为一种可能的实现方式,如图2所示,处理模块202包括:异步先入先出(firstinput first output,FIFO)模块2021、FEC编码模块2022以及加扰模块2023。As a possible implementation manner, as shown in FIG. 2 , the processing module 202 includes: an asynchronous first-in-first-out (firstinput first output, FIFO) module 2021 , an FEC encoding module 2022 and a scrambling module 2023 .

异步先入先出模块2021用于接收第一通信单元201发送的MAC帧数据,并对MAC帧数据进行同步。The asynchronous first-in first-out module 2021 is used for receiving the MAC frame data sent by the first communication unit 201 and synchronizing the MAC frame data.

一种可能的实现方式中,异步先入先出模块2021可以通过第一时钟选择模块2016对MAC帧数据进行同步。In a possible implementation manner, the asynchronous first-in-first-out module 2021 may synchronize the MAC frame data through the first clock selection module 2016 .

异步先入先出模块2021还用于向FEC编码模块2022发送同步后的MAC帧数据。The asynchronous FIFO module 2021 is also used to send the synchronized MAC frame data to the FEC encoding module 2022 .

FEC编码模块2022用于接收异步先入先出模块2021发送的同步后的MAC帧数据,并对同步后的MAC帧数据定长切片以及FEC编码,得到至少一个第一数据块。The FEC encoding module 2022 is configured to receive the synchronized MAC frame data sent by the asynchronous FIFO module 2021, and perform fixed-length slicing and FEC encoding on the synchronized MAC frame data to obtain at least one first data block.

一种可能的实现方式中,FEC编码模块2022还用于对该至少一个第一数据块填充空闲码(idle code)。FEC编码模块2022通过填充空闲码,可以将该至少一个第一数据块的速率与千兆以太网数据相匹配,使得该至少一个第一数据块在物理传输链路中的数据带宽与传输速率与实际以太网保持一致,不需要额外增加传输链路的带宽与线路速率。因此无需改变原有传输链路的千兆以太网光模块的配置。In a possible implementation manner, the FEC encoding module 2022 is further configured to fill the at least one first data block with an idle code (idle code). The FEC encoding module 2022 can match the rate of the at least one first data block with Gigabit Ethernet data by filling idle codes, so that the data bandwidth and transmission rate of the at least one first data block in the physical transmission link are the same as The actual Ethernet remains consistent, and there is no need to increase the bandwidth and line rate of the transmission link. Therefore, there is no need to change the configuration of the Gigabit Ethernet optical module of the original transmission link.

又一种可能的实现方式中,FEC编码模块2022具体用于:在MAC帧数据中添加数据帧头信息、帧长度信息以及填充数据,并进行定长切片,得到至少一个数据长度相同的数据块;对至少一个数据长度相同的数据块通过预设编码算法进行编码,得到至少一个第一数据块。In another possible implementation, the FEC encoding module 2022 is specifically configured to: add data frame header information, frame length information, and padding data to the MAC frame data, and perform fixed-length slicing to obtain at least one data block with the same data length ; Encoding at least one data block with the same data length by a preset encoding algorithm to obtain at least one first data block.

示例性的,FEC编码模块2022可以在MAC帧数据中添加数据帧头信息、帧长度信息,并填充数据直至填充后的数据满足预设数据长度(例如预设数据长度为239字节)的整数倍。如此一来,FEC编码模块2022便可以按照该预设数据长度将MAC帧数据切分为至少一个数据长度为预设数据长度的数据块。Exemplarily, the FEC encoding module 2022 can add data frame header information and frame length information to the MAC frame data, and fill the data until the filled data meets the integer of the preset data length (for example, the preset data length is 239 bytes). times. In this way, the FEC encoding module 2022 can divide the MAC frame data into at least one data block whose data length is the preset data length according to the preset data length.

针对每个数据块,FEC编码模块2022通过预设编码算法对其进行FEC编码,生成开销字段(例如数据长度为16字节),从而得到至少一个第一数据块(每个第一数据块的数据长度为255字节)。该预设编码算法可以为里德所罗门(Reed Solomon,RS)编码算法。预设编码算法还可以为其他的FEC编码算法,本申请对此不作限定。For each data block, the FEC encoding module 2022 performs FEC encoding on it through a preset encoding algorithm to generate an overhead field (for example, the data length is 16 bytes), thereby obtaining at least one first data block (each first data block The data length is 255 bytes). The preset encoding algorithm may be a Reed Solomon (Reed Solomon, RS) encoding algorithm. The preset encoding algorithm may also be other FEC encoding algorithms, which is not limited in this application.

其中,开销字段的数据长度越长,其所能检测出的数据块中的错误越多,即数据传输可靠性越强。第一数据块的数据长度、预设数据长度以及开销字段的数据长度可根据实际情况设置,本申请对此不做限定。Wherein, the longer the data length of the overhead field is, the more errors in the data block it can detect, that is, the stronger the reliability of data transmission. The data length of the first data block, the preset data length, and the data length of the overhead field can be set according to actual conditions, which is not limited in this application.

一种可能的实现方式中,若FEC编码模块2022获取数据不是MAC帧数据,FEC编码模块2022可以直接填充数据,并进行定长切片。In a possible implementation manner, if the data obtained by the FEC encoding module 2022 is not MAC frame data, the FEC encoding module 2022 may directly fill the data and perform fixed-length slicing.

需要说明的是,目前千兆以太网帧数据通常为125M×8bit的数据格式,即数据带宽为1000M,由于该千兆以太网帧数据是由8B/10B(即将8字节数据映射为10字节数据)格式转换得到的,因此,用于传输业务数据的数据带宽为80%*1000M,考虑到前导码、帧间隔等字段信息,实际数据带宽,其实际数据带宽会小于800M。It should be noted that the current Gigabit Ethernet frame data is usually in the data format of 125M×8bit, that is, the data bandwidth is 1000M. Section data) format conversion, therefore, the data bandwidth used to transmit business data is 80%*1000M, considering the preamble, frame interval and other field information, the actual data bandwidth, the actual data bandwidth will be less than 800M.

结合上述示例,本申请实施例所提供的技术方案中,每个数据长度为255字节的第一数据块,包含239字节的实际业务数据块以及16字节的开销字段。也即是说,在千兆以太网传输中,本申请实施例可使用的总数据带宽为239/255*1000M>800M。因此,本申请上述技术方案具有足够的带宽传输千兆以太网的有效数据。With reference to the above example, in the technical solution provided by the embodiment of the present application, each first data block with a data length of 255 bytes includes a 239-byte actual service data block and a 16-byte overhead field. That is to say, in Gigabit Ethernet transmission, the total data bandwidth available in this embodiment of the present application is 239/255*1000M>800M. Therefore, the above technical solution of the present application has sufficient bandwidth to transmit effective data of Gigabit Ethernet.

一种可能的实现方式中,FEC编码模块2022包括里德所罗门RS编码器30。如图3所示,图3为本申请实施例提供的一种RS编码器30的结构图。该RS编码器30包括多个乘法器301、多个加法器302、多个寄存器303、反馈(feedback)选择器304以及选择开关305。In a possible implementation manner, the FEC encoding module 2022 includes a Reed-Solomon RS encoder 30 . As shown in FIG. 3 , FIG. 3 is a structural diagram of an RS encoder 30 provided in an embodiment of the present application. The RS encoder 30 includes a plurality of multipliers 301 , a plurality of adders 302 , a plurality of registers 303 , a feedback selector 304 and a selection switch 305 .

RS编码器30用于对至少一个数据长度相同的数据块通过预设编码算法进行编码,得到至少一个第一数据块。The RS encoder 30 is configured to encode at least one data block with the same data length through a preset encoding algorithm to obtain at least one first data block.

示例性的,预设编码算法可以为RS(255,239,8)编码算法。其中,RS(255,239)由伽罗华(Galois Field)有限域GF(28)运算得到。RS编码器30中的乘法器301可以为伽罗华域乘法器,该乘法器301用于计算2个有限域中的元素的指数相加并于255取模。其中,该编码算法中编码的数据长度为255字节,其中实际业务数据的数据长度为239字节,用于校验的开销字段的数据长度为16字节,该编码算法能够检测出的每个数据块中的错误数量为8,每个数据块之间的最小码距为17。Exemplarily, the preset encoding algorithm may be an RS (255, 239, 8) encoding algorithm. Among them, RS(255, 239) is obtained by Galois (Galois Field) finite field GF(28) operation. The multiplier 301 in the RS encoder 30 may be a Galois field multiplier, and the multiplier 301 is used to calculate the exponential sum of the elements in two finite fields and take a modulus of 255. Among them, the encoded data length in the encoding algorithm is 255 bytes, the data length of the actual business data is 239 bytes, and the data length of the overhead field used for verification is 16 bytes. The number of errors in a data block is 8, and the minimum code distance between each data block is 17.

以RS编码器30包括16个乘法器301M1-M16,16个加法器302C1-C16以及16个寄存器303REG1-REG16为例,反馈选择器304的输入端连接加法器302C16的输出端,反馈选择器304的输出端分布连接16个乘法器301的第一输入端。Take the RS encoder 30 including 16 multipliers 301M1-M16, 16 adders 302C1-C16 and 16 registers 303REG1-REG16 as an example, the input end of the feedback selector 304 is connected to the output end of the adder 302C16, and the feedback selector 304 The output terminals of the 16 multipliers 301 are distributedly connected to the first input terminals of the multipliers 301 .

RS编码器30通过16个乘法器301的第二输入端输入预设多项式的系数g0-g15,该系数即为反馈系数。The RS encoder 30 inputs the coefficients g0-g15 of the preset polynomial through the second input terminals of the 16 multipliers 301, and the coefficients are the feedback coefficients.

乘法器301M1的输出端与寄存器303REG1的输入端相连接,乘法器301M2-M16的输出端分别与加法器302C1-C15的第一输入端相连接,加法器302C16的第一输入端与选择开关305相连接。寄存器303REG1-REG16的输出端分别与加法器302C1-C16的第二输入端相连接。The output end of multiplier 301M1 is connected with the input end of register 303REG1, the output end of multiplier 301M2-M16 is connected with the first input end of adder 302C1-C15 respectively, the first input end of adder 302C16 is connected with selector switch 305 connected. The output terminals of the registers 303REG1-REG16 are respectively connected to the second input terminals of the adders 302C1-C16.

加法器302C1-C16的输出端分别与寄存器303REG2-REG16的输入端相连接。The output terminals of the adders 302C1-C16 are respectively connected to the input terminals of the registers 303REG2-REG16.

选择开关305的第一输入端用于接收待编码数据,第二输入端与寄存器303REG16的输出端相连接。选择开关305的输出端用于输出编码后的数据。选择开关305通过连通第一输入端接收待编码数据,通过连通第二输入端获取并输出编码后的数据。The first input end of the selection switch 305 is used to receive the data to be encoded, and the second input end is connected to the output end of the register 303REG16. The output terminal of the selection switch 305 is used to output encoded data. The selection switch 305 receives the data to be encoded by connecting to the first input end, and obtains and outputs the encoded data by connecting to the second input end.

其中,上述RS编码器30为16级编码器,上述寄存器303REG1-REG16中的值与当前输入的待编码数据中的信息码元进行异或运算得到编码后的结果。Wherein, the RS encoder 30 is a 16-stage encoder, and the values in the registers 303REG1-REG16 are XORed with the information symbols in the currently input data to be encoded to obtain an encoded result.

以下以对一个数据块进行编码为例进行说明:The following is an example of encoding a data block:

1、RS编码器30将寄存器303REG1-REG16中的值清零,并设置选择开关305连接第一输入端,使得待编码的数据块中的码元依次输入乘法器301M1-M16中,从而进行运算编码。1. The RS encoder 30 clears the values in the registers 303REG1-REG16, and sets the selector switch 305 to connect to the first input terminal, so that the symbols in the data block to be encoded are sequentially input into the multipliers 301M1-M16 for calculation coding.

2、当数据块中的最后一个码元输入乘法器301后,RS编码器30将选择开关305连接第二输入端,使得校验码按照时钟节拍载入寄存器303REG1-REG16中,并输出编码结果。2. When the last symbol in the data block is input to the multiplier 301, the RS encoder 30 connects the selection switch 305 to the second input terminal, so that the check code is loaded into the registers 303REG1-REG16 according to the clock beat, and the encoding result is output .

当最后一个校验码输出后,RS编码器30生成编码后的第一数据块。After the last check code is output, the RS encoder 30 generates the encoded first data block.

需要说明的是,RS编码器30通过RS(255,239,8)编码算法的具体过程,可参考相关技术中的描述,此处不作具体限定。It should be noted that, for the specific process of the RS encoder 30 through the RS (255, 239, 8) encoding algorithm, reference may be made to the description in related technologies, and no specific limitation is made here.

本申请实施例中的数据传输装置20,通过在1000BASE-X中插入G.709标准定义的FEC算法,当传输数据在链路传输过程中引入比特错误,可通过开销字段对传输数据进行纠正,因此增强了链路传输过程中的抗干扰能力,增加了传输距离。同时,由于本申请实施例中的数据传输装置20不需要进行8B/10B格式转换,因此能够满足千兆以太网的传输需求,不需要增加额外的带宽。相比于相关技术中的千兆以太网传输装置,本申请实施例中的数据传输装置20的接收灵敏度提示了6dB,并实现了更远距离的数据传输。In the data transmission device 20 in the embodiment of the present application, by inserting the FEC algorithm defined in the G.709 standard into 1000BASE-X, when the transmission data introduces a bit error during link transmission, the transmission data can be corrected through the overhead field, Therefore, the anti-interference ability in the link transmission process is enhanced, and the transmission distance is increased. At the same time, since the data transmission device 20 in the embodiment of the present application does not need to perform 8B/10B format conversion, it can meet the transmission requirements of Gigabit Ethernet without adding additional bandwidth. Compared with the Gigabit Ethernet transmission device in the related art, the receiving sensitivity of the data transmission device 20 in the embodiment of the present application is suggested to be 6dB, and a longer distance data transmission is realized.

FEC编码模块2022还用于向加扰模块2023发送至少一个第一数据块。The FEC encoding module 2022 is further configured to send at least one first data block to the scrambling module 2023 .

加扰模块2023用于接收FEC编码模块2022发送的至少一个第一数据块,并对至少一个第一数据块进行加扰运算,得到至少一个第二数据块。The scrambling module 2023 is configured to receive at least one first data block sent by the FEC encoding module 2022, and perform a scrambling operation on the at least one first data block to obtain at least one second data block.

一种可能的实现方式中,加扰模块2023具体用于根据伪随机序列多项式生成伪随机序列;将伪随机序列进行异或运算,生成加扰多项式;根据加扰多项式与至少一个第一数据块确定至少一个第二数据块。In a possible implementation manner, the scrambling module 2023 is specifically configured to generate a pseudo-random sequence according to a pseudo-random sequence polynomial; perform an XOR operation on the pseudo-random sequence to generate a scrambling polynomial; At least one second data block is determined.

本申请实施例中的加扰模块2023不会占用传输资源的额外开销,示例性的,加扰模块2023对至少一个数据块进行加扰运算的过程如下:The scrambling module 2023 in the embodiment of the present application does not occupy additional overhead of transmission resources. Exemplarily, the process of the scrambling module 2023 performing a scrambling operation on at least one data block is as follows:

1、加扰模块2023根据Gold序列生成一个长度为8的伪随机序列。1. The scrambling module 2023 generates a pseudo-random sequence with a length of 8 according to the Gold sequence.

2、加扰模块2023通过比特相乘的方式生成扰码。2. The scrambling module 2023 generates a scrambling code by bit multiplication.

其中,Gold序列的生产方式可参考相关技术,此处不作具体限定。例如:伪随机序列的多项式如下所示:Wherein, the production method of the Gold sequence can refer to related technologies, and is not specifically limited here. Example: A polynomial for a pseudorandom sequence looks like this:

scram_d[7]<=scram_d[6]^scram_d[5];scram_d[7]<=scram_d[6]^scram_d[5];

scram_d[6]<=scram_d[5]^scram_d[4];scram_d[6]<=scram_d[5]^scram_d[4];

scram_d[5]<=scram_d[4]^scram_d[3];scram_d[5]<=scram_d[4]^scram_d[3];

scram_d[4]<=scram_d[3]^scram_d[2];scram_d[4]<=scram_d[3]^scram_d[2];

scram_d[3]<=scram_d[2]^scram_d[1];scram_d[3]<=scram_d[2]^scram_d[1];

scram_d[2]<=scram_d[1]^scram_d[7]^scram_d[6];scram_d[2]<=scram_d[1]^scram_d[7]^scram_d[6];

scram_d[1]<=scram_d[7]^scram_d[5];scram_d[1]<=scram_d[7]^scram_d[5];

scram_d[0]<=scram_d[6]^scram_d[4]。scram_d[0]<=scram_d[6]^scram_d[4].

其中,scram_d[0]是指伪随机序列的多项式中的第1位系数,scram_d[1]是指伪随机序列的多项式中的第1位系数,以此类推。通过上述迭代过程,最终输出生成的扰码。Among them, scram_d[0] refers to the first coefficient in the polynomial of the pseudo-random sequence, scram_d[1] refers to the first coefficient in the polynomial of the pseudo-random sequence, and so on. Through the above iterative process, the generated scrambling code is finally output.

加扰模块2023还用于向第二通信单元203发送至少一个第二数据块。The scrambling module 2023 is further configured to send at least one second data block to the second communication unit 203 .

本申请通过加扰模块2023对至少一个第一数据块进行加扰运算,得到至少一个第二数据块,使得数据在实际传输过程中“0”和“1”的分布较为均匀,提高了数据传输的可靠性,满足良好操作规范(good manufacturing practice,GMP)封装的标准。This application uses the scrambling module 2023 to perform scrambling operations on at least one first data block to obtain at least one second data block, so that the distribution of "0" and "1" in the actual data transmission process is relatively uniform, and data transmission is improved. High reliability, meeting the standard of good manufacturing practice (GMP) packaging.

作为一种可能的实现方式,如图2所示,第一通信单元201包括客户侧串行解串器2011(serializer/deserializer,serdes)和MAC模块2012。客户侧串行解串器2011与MAC模块2012相连接。As a possible implementation manner, as shown in FIG. 2 , the first communication unit 201 includes a client-side serializer/deserializer 2011 (serializer/deserializer, serdes) and a MAC module 2012 . The client-side SerDes 2011 is connected to the MAC module 2012 .

客户侧串行解串器2011,用于接收客户侧数据,对客户侧数据进行串并转换和解码,得到以太网数据。The client-side SerDes 2011 is configured to receive client-side data, perform serial-to-parallel conversion and decoding on the client-side data, and obtain Ethernet data.

一种可能的实现方式中,客户侧串行解串器2011包括:第一物理介质连接子层(physical medium attachment,PMA)模块2014、第一物理编码子层(physical codingsublayer,PCS)模块2015和第一时钟选择模块2016。In a possible implementation manner, the client side serial deserializer 2011 includes: a first physical medium attachment sublayer (physical medium attachment, PMA) module 2014, a first physical coding sublayer (physical coding sublayer, PCS) module 2015 and The first clock selection module 2016.

其中,第一PMA模块2014与第一时钟选择模块2016相连接,第一PMA模块2014与第一PCS模块2015相连接。Wherein, the first PMA module 2014 is connected with the first clock selection module 2016 , and the first PMA module 2014 is connected with the first PCS module 2015 .

第一PMA模块2014,即串行解串器的物理介质相关(physical media dependent,PMD)子层,用于实现串行化/解串化处理。示例性的,该第一PMA模块2014可以包括:参考时钟、锁相环(phase locked loop,PLL)、端接电阻校准、环回模式、数据时钟恢复(clockdata recovery,CDR)、serdes相关的外部管脚以及发送端口(TX)和接收端口(RX)涉及到的上电初始化单元和复位单元。The first PMA module 2014, that is, the physical media dependent (PMD) sublayer of the SerDes, is used to implement serialization/deserialization processing. Exemplarily, the first PMA module 2014 may include: reference clock, phase locked loop (phase locked loop, PLL), termination resistance calibration, loopback mode, data clock recovery (clockdata recovery, CDR), serdes related external The power-on initialization unit and reset unit involved in the pins and the transmit port (TX) and receive port (RX).

第一PCS模块2015主要用于数据流的编码/解码,PCS子层和PMA子层组成了完整的serdes模块,形成了serdes模块发送数据通路和接收数据通路。The first PCS module 2015 is mainly used for encoding/decoding data streams. The PCS sublayer and the PMA sublayer form a complete serdes module, forming the sending data path and receiving data path of the serdes module.

示例性的,如图4所示,图4为本申请实施例提供的一种客户侧串行解串器2011上行传输的流程图。第一PMA模块2014接收客户侧数据,并进行数字时钟恢复,从而实现时钟同步。之后,第一PMA模块2014对该客户侧数据进行解串化处理,并将解串化的客户侧数据发送至第一PCS模块2015。Exemplarily, as shown in FIG. 4 , FIG. 4 is a flow chart of uplink transmission by the client-side SerDes 2011 provided in the embodiment of the present application. The first PMA module 2014 receives client-side data and performs digital clock recovery, thereby realizing clock synchronization. Afterwards, the first PMA module 2014 deserializes the client-side data, and sends the deserialized client-side data to the first PCS module 2015 .

第一PCS模块2015可以执行8B/10B解码、字节解串化以及字节排序中的至少一项,并将处理后的数据缓存至RX弹性FIFO中,用于后续编码处理。或者,第一PCS模块2015也可以直接将接收到的客户侧数据缓存至RX弹性FIFO中。The first PCS module 2015 may perform at least one of 8B/10B decoding, byte deserialization, and byte sorting, and buffer the processed data into the RX elastic FIFO for subsequent encoding processing. Alternatively, the first PCS module 2015 may also directly buffer the received client-side data into the RX elastic FIFO.

第一时钟选择模块2016用于执行第一PMA模块2014中CDR恢复出来的时钟选择操作,serdes可以在多种速率,多种环回模式下运行。因此第一时钟选择模块2016需要根据当前运行状态选择相应的时钟源。第一时钟选择模块2016通过根据serdes链路工作模式选择合理的时钟,并返回至第一PMA模块2014,从而保障了第一PMA模块2014中的CDR的正常运行,同时可以确保在数据处理过程中的数据和时钟同源。The first clock selection module 2016 is used to perform the clock selection operation recovered from the CDR in the first PMA module 2014, and the serdes can run at multiple rates and multiple loopback modes. Therefore, the first clock selection module 2016 needs to select a corresponding clock source according to the current running state. The first clock selection module 2016 selects a reasonable clock according to the working mode of the serdes link, and returns it to the first PMA module 2014, thereby ensuring the normal operation of the CDR in the first PMA module 2014, and can ensure that during data processing The data and clock have the same source.

客户侧串行解串器2011还用于向MAC模块2012发送以太网数据。The client-side SerDes 2011 is also used to send Ethernet data to the MAC module 2012 .

MAC模块2012,用于接收客户侧串行解串器2011发送的以太网数据,根据以太网数据,生成MAC帧数据。The MAC module 2012 is configured to receive the Ethernet data sent by the client-side SerDes 2011, and generate MAC frame data according to the Ethernet data.

示例性的,MAC模块2012为支持10M/100M/1000M三种速率的MAC模块2012,应用于IEEE802.3标准定义的以太网数据链路层。该MAC模块2012可以通过现场可编程逻辑门阵列(field programmable gate array,FPGA)芯片的IP核实现。Exemplarily, the MAC module 2012 is a MAC module 2012 supporting three rates of 10M/100M/1000M, and is applied to the Ethernet data link layer defined by the IEEE802.3 standard. The MAC module 2012 may be realized by an IP core of a field programmable gate array (field programmable gate array, FPGA) chip.

一种可能的实现方式中,该MAC模块2012包括发送器。In a possible implementation manner, the MAC module 2012 includes a transmitter.

发送器用于从客户侧串行解串器2011的发送器接口接收以太网数据,并添加前同步码字段和帧校验序列(frame check sequence,FCS)字段。可选的,发送器还用于添加填充字节以确保MAC帧数据满足最小帧长度要求,以及确保连续帧之间的帧间隙至少为协议中规定的最小间距。通过上述过程,发送器可以将以太网数据转换为与千兆媒体独立接口(gigabit medium independent interface,GMII)/媒体独立接口(medium independentinterface,MII)兼容的MAC帧数据,并发送至GMII/MII接口。The transmitter is used to receive Ethernet data from the transmitter interface of the client-side SerDes 2011, and add a preamble field and a frame check sequence (frame check sequence, FCS) field. Optionally, the sender is also used to add padding bytes to ensure that the MAC frame data meets the minimum frame length requirement, and to ensure that the frame gap between consecutive frames is at least the minimum distance specified in the protocol. Through the above process, the transmitter can convert Ethernet data into MAC frame data compatible with gigabit medium independent interface (GMII)/media independent interface (MII), and send it to the GMII/MII interface .

又一种可能的实现方式中,数据传输装置20还包括接口控制模块204。接口控制模块204与MAC模块2012相连接。In yet another possible implementation manner, the data transmission device 20 further includes an interface control module 204 . The interface control module 204 is connected with the MAC module 2012 .

接口控制模块204用于向MAC模块2012发送控制指令。The interface control module 204 is configured to send a control instruction to the MAC module 2012 .

其中,控制指令包括速率模式选择指令和/或接口接收发送使能指令。速率模式选择指令用于配置MAC模块2012的速率模式,接口接收发送使能指令用于指示MAC模块2012执行数据接收操作或者数据发送操作。Wherein, the control instruction includes a rate mode selection instruction and/or an interface receiving and sending enabling instruction. The rate mode selection command is used to configure the rate mode of the MAC module 2012, and the interface receiving and sending enabling command is used to instruct the MAC module 2012 to perform a data receiving operation or a data sending operation.

MAC模块2012还用于向接口控制模块204发送统计数据。相应的,接口控制模块204用于接收MAC模块2012发送的统计数据。The MAC module 2012 is also configured to send statistical data to the interface control module 204 . Correspondingly, the interface control module 204 is configured to receive statistical data sent by the MAC module 2012 .

示例性的,统计数据可以包括MAC模块2012接收和发送的报文个数统计数据、接收和发送的报文字节数的统计数据以及接收到的帧校验序列错误统计数据。通过上述方案可以实现业务统计功能。Exemplarily, the statistical data may include statistical data on the number of packets received and sent by the MAC module 2012, statistical data on the number of bytes of packets received and sent, and statistical data on received frame check sequence errors. The business statistics function can be realized through the above solution.

接口控制模块204可以配置MAC模块2012的速率模式。例如,MAC模块2012支持10M/100M/1000M三种速率模式。接口控制模块204可以将MAC模块2012配置为千兆以太网(GE)以及快速以太网(fast ethernet,FE)。快速以太网也称为百兆以太网。也即是说,千兆以太网光口可以向下兼容百兆以太网光口。当配置速率为FE时,MAC模块2012的工作模式为GE兼容的FE工作模式。因此本申请实施例中MAC模式可适用于GE或者FE的混用场景。The interface control module 204 can configure the rate mode of the MAC module 2012 . For example, the MAC module 2012 supports three rate modes of 10M/100M/1000M. The interface control module 204 can configure the MAC module 2012 as Gigabit Ethernet (GE) and Fast Ethernet (fast ethernet, FE). Fast Ethernet is also called Fast Ethernet. That is to say, the Gigabit Ethernet optical port can be backward compatible with the 100M Ethernet optical port. When the configuration rate is FE, the working mode of the MAC module 2012 is the GE compatible FE working mode. Therefore, the MAC mode in the embodiment of the present application can be applied to a mixed use scenario of GE or FE.

又一种可能的实现方式中,接口控制模块204还与处理模块202相连接。In yet another possible implementation manner, the interface control module 204 is also connected to the processing module 202 .

接口控制模块204,用于向处理模块202发送FEC使能指令。The interface control module 204 is configured to send an FEC enabling instruction to the processing module 202 .

其中,FEC使能指令用于指示处理模块202执行FEC编解码操作。Wherein, the FEC enabling instruction is used to instruct the processing module 202 to perform an FEC codec operation.

又一种可能的实现方式中,数据传输装置20还包括预设媒体独立接口2013。In yet another possible implementation manner, the data transmission device 20 further includes a preset media-independent interface 2013 .

预设媒体独立接口2013用于连接客户侧串行解串器2011与MAC模块2012。The preset media independent interface 2013 is used to connect the client-side SerDes 2011 and the MAC module 2012 .

示例性的,预设媒体独立接口2013可以为(serial gigabit media independentinterface,SGMII)串行千兆媒体独立接口。SGMII接口是端口物理层(port physicallayer,PHY)与MAC之间的接口。与GMII接口和简化千兆媒体独立接口(reduced gigabitmedia independent interface,RGMII)接口相比,区别在于:GMII接口与RGMII接口为并行接口,需要随路时钟,因此PCB布线的复杂度较高。而SGMII接口为串行接口,不需要设置另外的时钟,同时SGMII接口具有8B/10B编码功能,能够保障1.25G的传输速率。Exemplarily, the preset media independent interface 2013 may be a (serial gigabit media independent interface, SGMII) serial gigabit media independent interface. The SGMII interface is an interface between a port physical layer (port physical layer, PHY) and a MAC. Compared with the GMII interface and the reduced gigabitmedia independent interface (RGMII) interface, the difference is that the GMII interface and the RGMII interface are parallel interfaces and require an accompanying clock, so the PCB layout is more complicated. The SGMII interface is a serial interface and does not need to set another clock. At the same time, the SGMII interface has an 8B/10B encoding function, which can guarantee a transmission rate of 1.25G.

当客户侧串行解串器2011包括第一物理介质连接子层PMA模块2014、第一物理编码子层PCS模块2015和第一时钟选择模块2016时,预设媒体独立接口2013具体用于连接第一PCS模块2015与MAC模块2012。When the client-side SerDes 2011 includes a first physical medium attachment sublayer PMA module 2014, a first physical coding sublayer PCS module 2015, and a first clock selection module 2016, the preset media independent interface 2013 is specifically used to connect the first A PCS module 2015 and a MAC module 2012 .

MAC模块2012还用于向处理模块202发送MAC帧数据。The MAC module 2012 is also configured to send MAC frame data to the processing module 202 .

第二通信单元203,具体用于对至少一个第二数据块进行并串转换和编码,得到目标传输数据。The second communication unit 203 is specifically configured to perform parallel-to-serial conversion and encoding on at least one second data block to obtain target transmission data.

一种可能的实现方式中,第二通信单元203包括:第二物理介质连接子层PMA模块2032、第二物理编码子层PCS模块2031和第二时钟选择模块2033。In a possible implementation manner, the second communication unit 203 includes: a second physical medium connection sublayer PMA module 2032 , a second physical coding sublayer PCS module 2031 , and a second clock selection module 2033 .

其中,第二PMA模块2032与第二时钟选择模块2033相连接,第二PMA模块2032与第二PCS模块2031相连接。Wherein, the second PMA module 2032 is connected with the second clock selection module 2033 , and the second PMA module 2032 is connected with the second PCS module 2031 .

需要说明的是,第二PMA模块2032、第二PCS模块2031以及第二时钟选择模块2033可参考上述客户侧串行解串器2011中的第一PMA模块2014、第一PCS模块2015以及第一时钟选择模块2016中的相关描述。本领域技术人员可根据线路侧的具体实现需求对该第二PMA模块2032、第二PCS模块2031以及第二时钟选择模块2033进行适应性调整,例如,该第二始终选择模块所实现的时钟的选择,此处不再赘述。It should be noted that, the second PMA module 2032, the second PCS module 2031 and the second clock selection module 2033 can refer to the first PMA module 2014, the first PCS module 2015 and the first Relevant descriptions in the clock selection module 2016. Those skilled in the art can make adaptive adjustments to the second PMA module 2032, the second PCS module 2031, and the second clock selection module 2033 according to the specific implementation requirements of the line side. selection, which will not be repeated here.

以上为本申请实施例提供的数据传输装置20在上行传输过程中的具体实现方式,数据传输装置20通过客户侧串行解串器2011获取客户侧数据,并将客户侧数据进行串并转换和编码,得到以太网数据。之后,MAC模块2012可以将该以太网数据转换为MAC帧数据,以便于后续处理模块202实现对MAC帧数据的FEC编码以及加扰等操作,从而提高传输链路的可靠性。同时,第二通信单元203可以将接收到的至少一个第二数据块进行并串转换和编码,得到目标传输数据并发出,实现了数据传输功能。The above is the specific implementation of the data transmission device 20 in the uplink transmission process provided by the embodiment of the present application. The data transmission device 20 obtains the client-side data through the client-side SerDes 2011, and performs serial-to-parallel conversion on the client-side data. Encode to get Ethernet data. Afterwards, the MAC module 2012 can convert the Ethernet data into MAC frame data, so that the subsequent processing module 202 can perform operations such as FEC encoding and scrambling on the MAC frame data, thereby improving the reliability of the transmission link. At the same time, the second communication unit 203 can perform parallel-to-serial conversion and encoding on the received at least one second data block to obtain target transmission data and send it out, realizing the data transmission function.

以下针对下行传输过程对本申请实施例提供的数据传输装置20进行说明。The data transmission device 20 provided in the embodiment of the present application will be described below with respect to the downlink transmission process.

对于数据的下行传输过程:For the downlink transmission process of data:

第二通信单元203,用于接收目标传输数据,并根据目标传输数据生成至少一个第二数据块。The second communication unit 203 is configured to receive the target transmission data, and generate at least one second data block according to the target transmission data.

一种可能的实现方式中,第二通信单元203,具体用于对目标传输数据进行串并转换和解码,得到至少一个第二数据块。In a possible implementation manner, the second communication unit 203 is specifically configured to perform serial-to-parallel conversion and decoding on the target transmission data to obtain at least one second data block.

示例性的,第二通信单元203包括:第二物理介质连接子层PMA模块2032、第二物理编码子层PCS模块2031和第二时钟选择模块2033。Exemplarily, the second communication unit 203 includes: a second physical medium connection sublayer PMA module 2032 , a second physical coding sublayer PCS module 2031 and a second clock selection module 2033 .

其中,第二PMA模块2032与第二时钟选择模块2033相连接,第二PMA模块2032与第二PCS模块2031相连接。Wherein, the second PMA module 2032 is connected with the second clock selection module 2033 , and the second PMA module 2032 is connected with the second PCS module 2031 .

第二通信单元203可参考上述上行传输过程中对第二通信单元203的相关描述,此处不再赘述。For the second communication unit 203, reference may be made to the relevant description of the second communication unit 203 in the above-mentioned uplink transmission process, which will not be repeated here.

第二通信单元203还用于向处理模块202发送至少一个第二数据块。The second communication unit 203 is further configured to send at least one second data block to the processing module 202 .

相应的,处理模块202,用于接收第二通信单元203发送的至少一个第二数据块。Correspondingly, the processing module 202 is configured to receive at least one second data block sent by the second communication unit 203 .

处理模块202还用于对至少一个第二数据块进行解扰运算,得到至少一个第一数据块。The processing module 202 is further configured to perform a descrambling operation on at least one second data block to obtain at least one first data block.

需要说明的是,处理模块202对至少一个第二数据块进行解扰运算所使用的扰码与进行加扰运算时所使用的扰码为同一个扰码。It should be noted that, the scrambling code used by the processing module 202 to perform the descrambling operation on at least one second data block is the same scrambling code as the scrambling code used when performing the scrambling operation.

示例性的,第二数据块的数据序列为“01101”,扰码为“10101”。处理模块202将第二数据块与扰码进行异或运算,得到解扰后的第一数据块为“11000”。Exemplarily, the data sequence of the second data block is "01101", and the scrambling code is "10101". The processing module 202 performs an XOR operation on the second data block and the scrambling code to obtain the descrambled first data block as "11000".

处理模块202还用于对至少一个第一数据块进行前向纠错FEC解码并合并得到介质访问控制MAC帧数据。The processing module 202 is further configured to perform forward error correction (FEC) decoding on at least one first data block and combine them to obtain MAC frame data.

其中,第一数据块包括开销字段,处理模块202通过开销字段对至少一个第一数据块进行FEC解码。MAC帧数据即为符合以太网报文格式标准的传输数据。Wherein, the first data block includes an overhead field, and the processing module 202 performs FEC decoding on at least one first data block through the overhead field. The MAC frame data is the transmission data conforming to the Ethernet message format standard.

示例性的,MAC帧数据包括目的地址、源地址、数据类型、数据内容等。Exemplarily, the MAC frame data includes destination address, source address, data type, data content and so on.

处理模块202还用于向第一通信单元201发送MAC帧数据。The processing module 202 is further configured to send MAC frame data to the first communication unit 201 .

相应的,第一通信单元201,用于接收处理模块202发送的MAC帧数据,并根据MAC帧数据,生成客户侧数据。Correspondingly, the first communication unit 201 is configured to receive the MAC frame data sent by the processing module 202, and generate client-side data according to the MAC frame data.

第一通信单元201还用于发送客户侧数据。The first communication unit 201 is also used for sending client-side data.

基于上述技术方案,本申请实施例中当第二通信单元203接收到目标传输数据之后,可以根据该目标传输数据生成至少一个第二数据块,并将该至少一个第二数据块发送至处理模块202。处理模块202可以将至少一个第二数据块进行解扰运算,得到至少一个第一数据块,并对该至少一个第一数据块进行FEC解码,纠错第一数据块在传输过程中出现的码元错误,从而得到MAC帧数据。之后,处理模块202可以将MAC帧数据发送至第一通信单元201,由第一通信单元201根据MAC帧数据生成客户侧数据,并发送该客户侧数据。因此,本申请通过上述技术方案,在不改变以太网协议的情况下保障远距离传输时的可靠性,从而能够沿用现有的数据传输链路进行以太网的远距离传输,降低了传输设备的建设成本。Based on the above technical solution, in the embodiment of the present application, after receiving the target transmission data, the second communication unit 203 may generate at least one second data block according to the target transmission data, and send the at least one second data block to the processing module 202. The processing module 202 may perform descrambling operations on at least one second data block to obtain at least one first data block, and perform FEC decoding on the at least one first data block to correct codes that appear during transmission of the first data block. Meta error, so as to get the MAC frame data. Afterwards, the processing module 202 may send the MAC frame data to the first communication unit 201, and the first communication unit 201 generates client-side data according to the MAC frame data, and sends the client-side data. Therefore, the present application guarantees the reliability of long-distance transmission without changing the Ethernet protocol through the above-mentioned technical solution, so that the existing data transmission link can be used for Ethernet long-distance transmission, and the cost of transmission equipment is reduced. construction costs.

作为一种可能的实现方式,如图2所示,处理模块202包括:异步先入先出模块2021、FEC解码模块2024以及解扰模块2025;As a possible implementation, as shown in FIG. 2, the processing module 202 includes: an asynchronous first-in-first-out module 2021, an FEC decoding module 2024, and a descrambling module 2025;

解扰模块2025,用于接收第二通信单元203发送的至少一个第二数据块。The descrambling module 2025 is configured to receive at least one second data block sent by the second communication unit 203 .

解扰模块2025还用于对至少一个第二数据块进行解扰运算,得到至少一个第一数据块。The descrambling module 2025 is further configured to perform a descrambling operation on at least one second data block to obtain at least one first data block.

一种可能的实现方式中,解扰模块2025,具体用于:根据伪随机序列多项式生成伪随机序列;将伪随机序列进行异或运算,生成解扰多项式;根据解扰多项式与至少一个第二数据块确定至少一个第一数据块。In a possible implementation manner, the descrambling module 2025 is specifically configured to: generate a pseudo-random sequence according to the pseudo-random sequence polynomial; perform an XOR operation on the pseudo-random sequence to generate a descrambling polynomial; combine the descrambling polynomial with at least one second The data blocks define at least one first data block.

需要说明的是,解扰模块2025所实现的功能为上述加扰模块2023的逆操作,其解扰的具体实现过程也包括生成伪随机序列和通过比特相乘得到扰码两个过程。其中解扰所采用的伪随机序列与上述加扰过程中采用的伪随机序列的多项式相同。解扰模块2025实现解扰的具体过程可参考上述加扰模块2023实现加扰的过程,此处不再赘述。It should be noted that the function realized by the descrambling module 2025 is the inverse operation of the above-mentioned scrambling module 2023, and the specific implementation process of its descrambling also includes two processes of generating a pseudo-random sequence and obtaining a scrambling code through bit multiplication. The pseudo-random sequence used for descrambling is the same as the polynomial of the pseudo-random sequence used in the above scrambling process. For the specific process of implementing descrambling by the descrambling module 2025, reference may be made to the above-mentioned process of implementing scrambling by the scrambling module 2023, which will not be repeated here.

解扰模块2025还用于向FEC解码模块2024发送至少一个第一数据块;The descrambling module 2025 is also configured to send at least one first data block to the FEC decoding module 2024;

FEC解码模块2024,用于接收解扰模块2025发送的至少一个第一数据块,并对至少一个第一数据块进行FEC解码并合并得到MAC帧数据。The FEC decoding module 2024 is configured to receive at least one first data block sent by the descrambling module 2025, perform FEC decoding on the at least one first data block, and combine them to obtain MAC frame data.

需要说明的是,在实际传输过程中,FEC解码模块2024接收到的是包括至少一个第一数据块的数据。FEC解码模块2024还用于对接收到的包括至少一个第一数据块的数据进行帧定位以及字节对齐,确定该数据的帧头和帧长度,从而得到至少一个第一数据块。It should be noted that, during actual transmission, the FEC decoding module 2024 receives data including at least one first data block. The FEC decoding module 2024 is further configured to perform frame alignment and byte alignment on the received data including at least one first data block, and determine the frame header and frame length of the data, so as to obtain at least one first data block.

示例性的,FEC解码模块2024可以在包括至少一个第一数据块的数据中识别出数据帧头以及数据帧长度,并根据数据帧长度解析出MAC帧数据对应的至少一个第一数据块。Exemplarily, the FEC decoding module 2024 may identify the data frame header and the data frame length in the data including at least one first data block, and parse out the at least one first data block corresponding to the MAC frame data according to the data frame length.

其中,数据帧头可以为固定数值,在识别出数据帧头后,FEC解码模块2024可以根据数据帧头的位置检测数据帧长度,并从数据帧头后续的数据中提取出至少一个第一数据块。Wherein, the data frame header can be a fixed value. After identifying the data frame header, the FEC decoding module 2024 can detect the length of the data frame according to the position of the data frame header, and extract at least one first data from the subsequent data of the data frame header. piece.

一种可能的实现方式中,FEC解码模块2024包括:里德所罗门RS译码器。In a possible implementation manner, the FEC decoding module 2024 includes: a Reed-Solomon RS decoder.

其中,RS译码器用于对至少一个第一数据块进行FEC解码并合并得到MAC帧数据。Wherein, the RS decoder is used for performing FEC decoding on at least one first data block and merging to obtain MAC frame data.

示例性的,如图5所示,图5为本申请实施例提供的一种RS译码器的结构示意图。RS译码器包括:伴随式计算模块、解关键方程模块、陈氏(Chien)搜索模块、福尼(Forney)算法模块、错误纠正模块和FIFO缓存模块。Exemplarily, as shown in FIG. 5 , FIG. 5 is a schematic structural diagram of an RS decoder provided in an embodiment of the present application. The RS decoder includes: adjoint calculation module, key equation solving module, Chen's (Chien) search module, Forney (Forney) algorithm module, error correction module and FIFO buffer module.

如图5所示,RS译码器的译码过程如下:As shown in Figure 5, the decoding process of the RS decoder is as follows:

1、伴随式计算模块对接收到的码组(即接收到的第一数据块)R(x)=C(x)+E(x)计算伴随式,得到伴随矩阵S(X)。1. The syndrome calculation module calculates the syndrome for the received code group (that is, the first received data block) R(x)=C(x)+E(x), and obtains the syndrome S(X).

2、解关键方程模块对伴随矩阵S(X)计算关键方程。2. The key equation solving module calculates key equations for the adjoint matrix S(X).

示例性的,解关键方程模块可以通过伯利坎普-梅西(Berlekamp-Massey)迭代算法计算关键方程,得到错误位置多项式和错误值多项式。Exemplarily, the key equation solving module can calculate the key equation through Berlekamp-Massey (Berlekamp-Massey) iterative algorithm to obtain the error position polynomial and the error value polynomial.

3、Chien搜索模块和Forney算法模块通过Chien搜索算法和Forney算法计算错误图样E(x)。3. The Chien search module and the Forney algorithm module calculate the error pattern E(x) through the Chien search algorithm and the Forney algorithm.

4、错误纠正模块通过错误图样和接收码组进行纠错,并输出纠错后的码组(即纠错后的第一数据块)C(x)。4. The error correction module performs error correction through the error pattern and the received code group, and outputs the error-corrected code group (that is, the first data block after error correction) C(x).

需要说明的是,本申请实施例中的RS译码器采用流水线架构,其中包括伴随式计算模块、解关键方程模块、Chien搜索模块、Forney算法模块、错误纠正模块的并行工作。在经过预设的固有周期(处理时钟周期)的延迟(例如295个固有周期)后,每个时钟周期可连续输出经过校正后的第一数据块的码元。It should be noted that the RS decoder in the embodiment of the present application adopts a pipeline architecture, which includes parallel operations of the adjoint calculation module, key equation solving module, Chien search module, Forney algorithm module, and error correction module. After a preset delay (for example, 295 natural cycles) of natural cycles (processing clock cycles), the corrected symbols of the first data block can be continuously output in each clock cycle.

FEC解码模块2024还用于向异步先入先出模块2021发送MAC帧数据;The FEC decoding module 2024 is also used to send MAC frame data to the asynchronous first-in-first-out module 2021;

异步先入先出模块2021,用于接收异步先入先出模块2021发送的MAC帧数据,并对MAC帧数据进行同步。The asynchronous first-in-first-out module 2021 is configured to receive the MAC frame data sent by the asynchronous first-in first-out module 2021 and synchronize the MAC frame data.

异步先入先出模块2021还用于向第一通信单元201发送同步后的MAC帧数据。The asynchronous first-in-first-out module 2021 is also configured to send the synchronized MAC frame data to the first communication unit 201 .

需要说明的是,下行传输过程中的异步先入先出模块2021与上行传输过程中的异步先入先出模块2021可以为同一个模块,也可以为不同模块。本申请对此不作限定。It should be noted that the asynchronous first-in-first-out module 2021 in the downlink transmission process and the asynchronous first-in-first-out module 2021 in the uplink transmission process may be the same module or different modules. This application is not limited to this.

作为一种可能的实现方式,如图2所示,第一通信单元201包括客户侧串行解串器2011和MAC模块2012。As a possible implementation manner, as shown in FIG. 2 , the first communication unit 201 includes a client-side SerDes 2011 and a MAC module 2012 .

MAC模块2012,用于接收处理模块202发送的MAC帧数据,并根据MAC帧数据,生成以太网数据。The MAC module 2012 is configured to receive the MAC frame data sent by the processing module 202, and generate Ethernet data according to the MAC frame data.

MAC模块2012可参考上述上行传输过程中对MAC模块2012的相关描述,此处不再赘述。For the MAC module 2012, reference may be made to the relevant description of the MAC module 2012 in the above-mentioned uplink transmission process, which will not be repeated here.

一种可能的实现方式中,MAC模块2012还包括接收器。In a possible implementation manner, the MAC module 2012 further includes a receiver.

其中,接收器用于从千兆媒体独立接口(gigabit medium independentinterface,GMII)/媒体独立接口(medium independent interface,MII)获取以太网数据报文对应的帧数据,并检测该帧数据是否符合协议规范,在接收(RX)接口标记帧数据接收正确或接受错误,并删除帧数据中的填充字段和帧校验序列(frame check sequence,FCS)字段。本申请实施例中,接收器还可以保留FCS字段。Wherein, the receiver is used to obtain the frame data corresponding to the Ethernet data message from the gigabit medium independent interface (GMII)/media independent interface (MII), and detect whether the frame data conforms to the protocol specification, Mark the frame data received correctly or incorrectly on the receiving (RX) interface, and delete the padding field and the frame check sequence (frame check sequence, FCS) field in the frame data. In this embodiment of the application, the receiver may also reserve the FCS field.

接收器还用于根据接收到的以太网数据报文确定接收状态向量。该接收状态向量包括:接收报文标志、接收报文长度、报文字节长度、报文字节长度以及接收到的FCS错误报文标志。The receiver is also used to determine the receiving state vector according to the received Ethernet data message. The receiving state vector includes: received message flag, received message length, message byte length, message byte length and received FCS error message flag.

又一种可能的实现方式中,数据传输装置20还包括接口控制模块204。In yet another possible implementation manner, the data transmission device 20 further includes an interface control module 204 .

其中,接口控制模块204与MAC模块2012相连接。Wherein, the interface control module 204 is connected with the MAC module 2012 .

接口控制模块204,用于向MAC模块2012发送控制指令。The interface control module 204 is configured to send a control instruction to the MAC module 2012 .

其中,控制指令包括速率模式选择指令和/或接口接收发送使能指令。速率模式选择指令用于配置MAC模块2012的速率模式,接口接收发送使能指令用于指示MAC模块2012执行数据接收操作或者数据发送操作。Wherein, the control instruction includes a rate mode selection instruction and/or an interface receiving and sending enabling instruction. The rate mode selection command is used to configure the rate mode of the MAC module 2012, and the interface receiving and sending enable command is used to instruct the MAC module 2012 to perform a data receiving operation or a data sending operation.

MAC模块2012,还用于向接口控制模块204发送统计数据。相应的,接口控制模块204,用于接收MAC模块2012发送的统计数据。The MAC module 2012 is also configured to send statistical data to the interface control module 204 . Correspondingly, the interface control module 204 is configured to receive statistical data sent by the MAC module 2012 .

又一种可能的实现方式中,接口控制模块204还与处理模块202相连接。In yet another possible implementation manner, the interface control module 204 is also connected to the processing module 202 .

接口控制模块204,用于向处理模块202发送FEC使能指令。The interface control module 204 is configured to send an FEC enabling instruction to the processing module 202 .

其中,FEC使能指令用于指示处理模块202执行FEC编解码操作。Wherein, the FEC enabling instruction is used to instruct the processing module 202 to perform an FEC codec operation.

又一种可能的实现方式中,数据传输装置20还包括预设媒体独立接口2013。In yet another possible implementation manner, the data transmission device 20 further includes a preset media-independent interface 2013 .

预设媒体独立接口2013用于连接客户侧串行解串器2011与MAC模块2012。The preset media independent interface 2013 is used to connect the client-side SerDes 2011 and the MAC module 2012 .

预设媒体独立接口2013可参考上述上行传输过程中对预设媒体独立接口2013的相关描述,此处不再赘述。For the preset media-independent interface 2013, reference may be made to the relevant description of the preset media-independent interface 2013 in the above-mentioned uplink transmission process, which will not be repeated here.

MAC模块2012还用于向客户侧串行解串器2011发送以太网数据。The MAC module 2012 is also used to send Ethernet data to the client-side SerDes 2011 .

客户侧串行解串器2011,用于接收MAC模块2012发送的以太网数据,并对以太网数据进行并串转换和编码,得到客户侧数据。The client-side SerDes 2011 is configured to receive the Ethernet data sent by the MAC module 2012, and perform parallel-to-serial conversion and encoding on the Ethernet data to obtain client-side data.

一种可能的实现方式中,客户侧串行解串器2011包括:第一物理介质连接子层PMA模块2014、第一物理编码子层PCS模块2015和第一时钟选择模块2016。In a possible implementation manner, the client-side SerDes 2011 includes: a first physical medium connection sublayer PMA module 2014 , a first physical coding sublayer PCS module 2015 , and a first clock selection module 2016 .

其中,第一PMA模块2014与第一时钟选择模块2016相连接,第一PMA模块2014与第一PCS模块2015相连接。Wherein, the first PMA module 2014 is connected with the first clock selection module 2016 , and the first PMA module 2014 is connected with the first PCS module 2015 .

客户侧串行解串器2011可参考上述上行传输过程中对客户侧串行解串器2011的相关描述,此处不再赘述。For the client-side SerDes 2011, reference may be made to the related description of the client-side SerDes 2011 in the above-mentioned uplink transmission process, which will not be repeated here.

当客户侧串行解串器2011包括第一物理介质连接子层PMA模块2014、第一物理编码子层PCS模块2015和第一时钟选择模块2016时,预设媒体独立接口2013具体用于连接第一PCS模块2015与MAC模块2012。When the client-side SerDes 2011 includes a first physical medium attachment sublayer PMA module 2014, a first physical coding sublayer PCS module 2015, and a first clock selection module 2016, the preset media independent interface 2013 is specifically used to connect the first A PCS module 2015 and a MAC module 2012 .

示例性的,如图6所示,图6为本申请实施例提供的一种客户侧串行解串器2011下行传输的流程图。第一PCS模块2015对以太网数据执行字节串行化同步、8B/10B编码操作中的至少一项,并将处理后的数据发送至第一PMA模块2014。或者,第一PCS模块2015可以直接将以太网数据发送至第一PMA模块2014。Exemplarily, as shown in FIG. 6 , FIG. 6 is a flow chart of downlink transmission by the client-side SerDes 2011 provided in the embodiment of the present application. The first PCS module 2015 performs at least one of byte serialization synchronization and 8B/10B encoding operations on the Ethernet data, and sends the processed data to the first PMA module 2014 . Alternatively, the first PCS module 2015 may directly send the Ethernet data to the first PMA module 2014 .

第一PMA模块2014将接收到的数据进行串行化处理,得到客户侧数据。The first PMA module 2014 serializes the received data to obtain client-side data.

客户侧串行解串器2011还用于发送客户侧数据。The client-side SerDes 2011 is also used for sending client-side data.

以上为本申请实施例提供的数据传输装置20在下行传输过程中的具体实现方式,数据传输装置20第二通信单元203接收目标传输数据,并对目标传输数据进行串并转换和解码,得到至少一个第二数据块,以便于处理模块202实现对至少一个第二数据块的解扰运算以及FEC解码等操作,从而纠正目标传输数据在传输过程中发生的错误,提高了传输链路的可靠性。同时,MAC模块2012根据MAC帧数据生成以太网数据。之后,客户侧串行解串器2011对以太网数据进行并串转换和编码,得到客户侧数据并发出,实现了数据传输功能。The above is the specific implementation of the data transmission device 20 in the downlink transmission process provided by the embodiment of the present application. The second communication unit 203 of the data transmission device 20 receives the target transmission data, and performs serial-to-parallel conversion and decoding on the target transmission data to obtain at least A second data block, so that the processing module 202 can implement operations such as descrambling operations and FEC decoding on at least one second data block, thereby correcting errors that occur during the transmission of the target transmission data and improving the reliability of the transmission link . Meanwhile, the MAC module 2012 generates Ethernet data according to the MAC frame data. Afterwards, the client-side SerDes 2011 performs parallel-serial conversion and encoding on the Ethernet data, obtains the client-side data and sends it out, and realizes the data transmission function.

作为本申请的一种可能的实施例,如图7所示,图7为本申请实施例提供的一种数据传输方法的流程图,应用于如图2所示的数据传输装置的上行传输过程中。该方法包括以下步骤:As a possible embodiment of this application, as shown in Figure 7, Figure 7 is a flow chart of a data transmission method provided by an embodiment of this application, which is applied to the uplink transmission process of the data transmission device shown in Figure 2 middle. The method includes the following steps:

步骤701、数据传输装置接收客户侧数据,并根据客户侧数据生成MAC帧数据。Step 701, the data transmission device receives client-side data, and generates MAC frame data according to the client-side data.

步骤702、数据传输装置对MAC帧数据进行定长切片以及前向纠错FEC编码,得到至少一个第一数据块。In step 702, the data transmission device performs fixed-length slicing and forward error correction (FEC) coding on the MAC frame data to obtain at least one first data block.

步骤703、数据传输装置对至少一个第一数据块进行加扰运算,得到至少一个第二数据块。Step 703: The data transmission device performs a scrambling operation on at least one first data block to obtain at least one second data block.

步骤704、数据传输装置根据至少一个第二数据块生成目标传输数据,并发送目标传输数据。Step 704: The data transmission device generates target transmission data according to at least one second data block, and sends the target transmission data.

相关描述以及有益效果可参考上述数据传输装置在上行传输过程中的介绍,此处不再赘述。For related descriptions and beneficial effects, reference may be made to the introduction of the above-mentioned data transmission device in the uplink transmission process, which will not be repeated here.

作为本申请的又一种可能的实施例,如图8所示,图8为本申请实施例提供的一种数据传输方法的流程图,应用于如图2所示的数据传输装置的下行传输过程中。该方法包括以下步骤:As yet another possible embodiment of the present application, as shown in FIG. 8, FIG. 8 is a flowchart of a data transmission method provided by the embodiment of the present application, which is applied to the downlink transmission of the data transmission device shown in FIG. 2 in process. The method includes the following steps:

步骤801、数据传输装置接收目标传输数据,并根据目标传输数据生成至少一个第二数据块。Step 801. The data transmission device receives target transmission data, and generates at least one second data block according to the target transmission data.

步骤802、数据传输装置对至少一个第二数据块进行解扰运算,得到至少一个第一数据块。In step 802, the data transmission device performs a descrambling operation on at least one second data block to obtain at least one first data block.

步骤803、数据传输装置对至少一个第一数据块进行前向纠错FEC解码并合并得到MAC帧数据。In step 803, the data transmission device performs forward error correction (FEC) decoding on at least one first data block and combines them to obtain MAC frame data.

步骤804、数据传输装置根据MAC帧数据,生成客户侧数据,并发送客户侧数据。Step 804, the data transmission device generates client-side data according to the MAC frame data, and sends the client-side data.

相关描述以及有益效果可参考上述数据传输装置在下行传输过程中的介绍,此处不再赘述。For related descriptions and beneficial effects, reference may be made to the introduction of the above-mentioned data transmission device in the downlink transmission process, which will not be repeated here.

本申请实施例可以根据上述方法示例对数据传输装置进行功能模块或者功能单元的划分,例如,可以对应各个功能划分各个功能模块或者功能单元,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块或者功能单元的形式实现。其中,本申请实施例中对模块或者单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The embodiment of the present application can divide the data transmission device into functional modules or functional units according to the above method examples. For example, each functional module or functional unit can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The above-mentioned integrated modules can be implemented in the form of hardware, or in the form of software function modules or functional units. Wherein, the division of modules or units in the embodiment of the present application is schematic, and is only a logical function division, and there may be another division manner in actual implementation.

作为一种可能的实施例,如图9所示,为本申请实施例提供的一种数据传输装置90的结构示意图,该装置包括:As a possible embodiment, as shown in FIG. 9 , it is a schematic structural diagram of a data transmission device 90 provided in the embodiment of the present application. The device includes:

通信单元902,用于接收客户侧数据。The communication unit 902 is configured to receive client-side data.

处理单元901,用于根据客户侧数据生成MAC帧数据;对MAC帧数据进行定长切片以及前向纠错FEC编码,得到至少一个第一数据块;对至少一个第一数据块进行加扰运算,得到至少一个第二数据块;根据至少一个第二数据块生成目标传输数据。The processing unit 901 is configured to generate MAC frame data according to the client-side data; perform fixed-length slicing and forward error correction (FEC) encoding on the MAC frame data to obtain at least one first data block; perform scrambling operations on at least one first data block , obtaining at least one second data block; generating target transmission data according to the at least one second data block.

通信单元902,还用于发送目标传输数据。The communication unit 902 is also configured to send target transmission data.

作为另一种可能的实施例,如图9所示,为本申请实施例提供的一种数据传输装置90的结构示意图,该装置包括:As another possible embodiment, as shown in FIG. 9 , it is a schematic structural diagram of a data transmission device 90 provided in the embodiment of the present application. The device includes:

通信单元902,用于接收目标传输数据。The communication unit 902 is configured to receive target transmission data.

处理单元901,用于根据目标传输数据生成至少一个第二数据块;对至少一个第二数据块进行解扰运算,得到至少一个第一数据块;对至少一个第一数据块进行前向纠错FEC解码并合并得到MAC帧数据;根据MAC帧数据,生成客户侧数据。The processing unit 901 is configured to generate at least one second data block according to the target transmission data; perform a descrambling operation on at least one second data block to obtain at least one first data block; perform forward error correction on at least one first data block FEC decodes and merges to obtain MAC frame data; generates client-side data according to the MAC frame data.

通信单元902,还用于发送客户侧数据。The communication unit 902 is also configured to send client-side data.

在通过硬件实现时,本申请实施例中的通信单元902可以集成在通信接口上,处理单元901可以集成在处理器上。具体实现方式如图10所示。When implemented by hardware, the communication unit 902 in the embodiment of the present application may be integrated on a communication interface, and the processing unit 901 may be integrated on a processor. The specific implementation manner is shown in FIG. 10 .

图10示出了上述实施例中所涉及的数据传输装置的又一种可能的结构示意图。该数据传输装置包括:处理器1002和通信接口1003。处理器1002用于对数据传输装置的动作进行控制管理,例如,执行上述处理单元901执行的步骤,和/或用于执行本文所描述的技术的其它过程。通信接口1003用于支持数据传输装置与其他网络实体的通信,例如,执行上述通信单元902执行的步骤。数据传输装置还可以包括存储器1001和总线1004,存储器1001用于存储数据传输装置的程序代码和数据。Fig. 10 shows another possible structural diagram of the data transmission device involved in the above embodiment. The data transmission device includes: a processor 1002 and a communication interface 1003 . The processor 1002 is configured to control and manage the actions of the data transmission device, for example, execute the steps executed by the processing unit 901 above, and/or execute other processes of the technology described herein. The communication interface 1003 is used to support communication between the data transmission device and other network entities, for example, to perform the steps performed by the communication unit 902 above. The data transmission device may further include a memory 1001 and a bus 1004, and the memory 1001 is used to store program codes and data of the data transmission device.

其中,存储器1001可以是数据传输装置中的存储器等,该存储器可以包括易失性存储器,例如随机存取存储器;该存储器也可以包括非易失性存储器,例如只读存储器,快闪存储器,硬盘或固态硬盘;该存储器还可以包括上述种类的存储器的组合。Wherein, the memory 1001 may be a memory in the data transmission device, etc., and the memory may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a read-only memory, flash memory, hard disk or a solid-state hard disk; the storage may also include a combination of the above-mentioned types of storage.

上述处理器1002可以是实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。该处理器可以是中央处理器,通用处理器,数字信号处理器,专用集成电路,现场可编程门阵列或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。该处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等。The above-mentioned processor 1002 may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of the present application. The processor may be a central processing unit, a general purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It can implement or execute the various illustrative logical blocks, modules and circuits described in connection with the present disclosure. The processor may also be a combination of computing functions, for example, a combination of one or more microprocessors, a combination of DSP and a microprocessor, and the like.

总线1004可以是扩展工业标准结构(Extended Industry StandardArchitecture,EISA)总线等。总线1004可以分为地址总线、数据总线、控制总线等。为便于表示,图10中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The bus 1004 may be an Extended Industry Standard Architecture (Extended Industry Standard Architecture, EISA) bus or the like. The bus 1004 can be divided into address bus, data bus, control bus and so on. For ease of representation, only one thick line is used in FIG. 10 , but it does not mean that there is only one bus or one type of bus.

图10中的数据传输装置还可以为芯片。该芯片包括一个或两个以上(包括两个)处理器1002和通信接口1003。The data transmission device in FIG. 10 may also be a chip. The chip includes one or more than two (including two) processors 1002 and a communication interface 1003 .

在一些实施例中,该芯片还包括存储器1001,存储器1001可以包括只读存储器和随机存取存储器,并向处理器1002提供操作指令和数据。存储器1001的一部分还可以包括非易失性随机存取存储器(non-volatile random access memory,NVRAM)。In some embodiments, the chip further includes a memory 1001 , which may include a read-only memory and a random access memory, and provides operation instructions and data to the processor 1002 . A part of the memory 1001 may also include a non-volatile random access memory (non-volatile random access memory, NVRAM).

在一些实施方式中,存储器1001存储了如下的元素,执行模块或者数据结构,或者他们的子集,或者他们的扩展集。In some implementations, the memory 1001 stores the following elements, execution modules or data structures, or their subsets, or their extended sets.

在本申请实施例中,通过调用存储器1001存储的操作指令(该操作指令可存储在操作系统中),执行相应的操作。In the embodiment of the present application, corresponding operations are executed by calling the operation instructions stored in the memory 1001 (the operation instructions may be stored in the operating system).

通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Through the description of the above embodiments, those skilled in the art can clearly understand that for the convenience and brevity of the description, only the division of the above-mentioned functional modules is used as an example for illustration. In practical applications, the above-mentioned functions can be allocated according to needs It is completed by different functional modules, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. For the specific working process of the above-described system, device, and unit, reference may be made to the corresponding process in the foregoing method embodiments, and details are not repeated here.

本申请实施例提供一种包含指令的计算机程序产品,当该计算机程序产品在计算机上运行时,使得该计算机执行上述方法实施例中的数据传输方法。An embodiment of the present application provides a computer program product including instructions, and when the computer program product is run on a computer, the computer is made to execute the data transmission method in the above method embodiment.

本申请实施例还提供一种计算机可读存储介质,计算机可读存储介质中存储有指令,当该指令在计算机上运行时,使得该计算机执行上述方法实施例所示的方法流程中的数据传输方法。The embodiment of the present application also provides a computer-readable storage medium, and instructions are stored in the computer-readable storage medium, and when the instructions are run on a computer, the computer is made to perform the data transmission in the method flow shown in the above-mentioned method embodiments method.

其中,计算机可读存储介质,例如可以是但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(Random Access Memory,RAM)、只读存储器(Read-Only Memory,ROM)、可擦式可编程只读存储器(Erasable Programmable Read Only Memory,EPROM)、寄存器、硬盘、光纤、便携式紧凑磁盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合、或者本领域熟知的任何其它形式的计算机可读存储介质。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于特定用途集成电路(Application Specific Integrated Circuit,ASIC)中。在本申请实施例中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。Wherein, the computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination thereof. More specific examples (non-exhaustive list) of computer-readable storage media include: electrical connections with one or more wires, portable computer disks, hard disks, Random Access Memory (RAM), read-only memory (Read-Only Memory, ROM), Erasable Programmable Read-Only Memory (Erasable Programmable Read Only Memory, EPROM), Registers, Hard Disk, Optical Fiber, Portable Compact Disk Read-Only Memory (Compact Disc Read-Only Memory, CD-ROM ), an optical storage device, a magnetic storage device, or any suitable combination of the above, or any other form of computer-readable storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be a component of the processor. The processor and the storage medium may be located in an application specific integrated circuit (Application Specific Integrated Circuit, ASIC). In the embodiments of the present application, a computer-readable storage medium may be any tangible medium containing or storing a program, and the program may be used by or in combination with an instruction execution system, device or device.

由于本申请的实施例中的数据传输装置、计算机可读存储介质、计算机程序产品可以应用于上述方法,因此,其所能获得的技术效果也可参考上述方法实施例,本申请实施例在此不再赘述。Since the data transmission device, computer-readable storage medium, and computer program product in the embodiments of the present application can be applied to the above-mentioned methods, the technical effects that can be obtained can also refer to the above-mentioned method embodiments, and the embodiments of the present application are hereby No longer.

在本申请所提供的几个实施例中,应该理解到,所揭露的系统、设备和方法,可以通过其它的方式实现。例如,以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.

以上,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应该以权利要求的保护范围为准。The above are only specific implementation methods of this application, but the protection scope of this application is not limited thereto. Any changes or replacements within the technical scope disclosed in this application shall be covered within the protection scope of this application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims (27)

1.一种数据传输装置,其特征在于,所述数据传输装置包括:第一通信单元、处理模块以及第二通信单元;1. A data transmission device, characterized in that the data transmission device comprises: a first communication unit, a processing module, and a second communication unit; 所述第一通信单元,用于接收客户侧数据,并根据所述客户侧数据生成介质访问控制MAC帧数据;向所述处理模块发送所述MAC帧数据;The first communication unit is configured to receive client-side data, and generate media access control MAC frame data according to the client-side data; send the MAC frame data to the processing module; 所述处理模块,用于接收所述第一通信单元发送的所述MAC帧数据;对所述MAC帧数据进行定长切片以及前向纠错FEC编码,得到至少一个第一数据块;对所述至少一个第一数据块进行加扰运算,得到至少一个第二数据块;向所述第二通信单元发送所述至少一个第二数据块;The processing module is configured to receive the MAC frame data sent by the first communication unit; perform fixed-length slicing and forward error correction (FEC) coding on the MAC frame data to obtain at least one first data block; performing a scrambling operation on the at least one first data block to obtain at least one second data block; sending the at least one second data block to the second communication unit; 所述第二通信单元,用于接收所述处理模块发送的所述至少一个第二数据块,并根据所述至少一个第二数据块生成目标传输数据;发送所述目标传输数据。The second communication unit is configured to receive the at least one second data block sent by the processing module, generate target transmission data according to the at least one second data block, and send the target transmission data. 2.根据权利要求1所述的数据传输装置,其特征在于,所述处理模块包括:异步先入先出模块、FEC编码模块以及加扰模块;2. The data transmission device according to claim 1, wherein the processing module comprises: an asynchronous first-in-first-out module, an FEC encoding module and a scrambling module; 所述异步先入先出模块,用于接收所述第一通信单元发送的所述MAC帧数据,并对所述MAC帧数据进行同步;向所述FEC编码模块发送同步后的MAC帧数据;The asynchronous first-in-first-out module is configured to receive the MAC frame data sent by the first communication unit, and synchronize the MAC frame data; send the synchronized MAC frame data to the FEC encoding module; 所述FEC编码模块,用于接收所述异步先入先出模块发送的同步后的MAC帧数据,并对所述同步后的MAC帧数据定长切片以及FEC编码,得到至少一个第一数据块;向所述加扰模块发送所述至少一个第一数据块;The FEC encoding module is configured to receive the synchronized MAC frame data sent by the asynchronous first-in-first-out module, and perform fixed-length slicing and FEC encoding of the synchronized MAC frame data to obtain at least one first data block; sending the at least one first data block to the scrambling module; 所述加扰模块,用于接收所述FEC编码模块发送的所述至少一个第一数据块,并对所述至少一个第一数据块进行加扰运算,得到至少一个第二数据块;向所述第二通信单元发送所述至少一个第二数据块。The scrambling module is configured to receive the at least one first data block sent by the FEC encoding module, and perform a scrambling operation on the at least one first data block to obtain at least one second data block; The second communication unit sends the at least one second data block. 3.根据权利要求2所述的数据传输装置,其特征在于,所述FEC编码模块,具体用于:3. The data transmission device according to claim 2, wherein the FEC encoding module is specifically used for: 在所述MAC帧数据中添加数据帧头信息、帧长度信息以及填充数据,并进行定长切片,得到至少一个数据长度相同的数据块;Add data frame header information, frame length information and padding data to the MAC frame data, and perform fixed-length slicing to obtain at least one data block with the same data length; 对所述至少一个数据长度相同的数据块通过预设编码算法进行编码,得到所述至少一个第一数据块。Encoding the at least one data block with the same data length by a preset encoding algorithm to obtain the at least one first data block. 4.根据权利要求2所述的数据传输装置,其特征在于,所述FEC编码模块包括里德所罗门RS编码器,所述RS编码器包括:多个乘法器、多个加法器、多个寄存器、反馈选择器以及选择开关。4. The data transmission device according to claim 2, wherein the FEC encoding module comprises a Reed-Solomon RS encoder, and the RS encoder comprises: a plurality of multipliers, a plurality of adders, a plurality of registers , feedback selector, and selector switch. 5.根据权利要求2所述的数据传输装置,其特征在于,所述加扰模块,具体用于:5. The data transmission device according to claim 2, wherein the scrambling module is specifically used for: 根据伪随机序列多项式生成伪随机序列;Generate a pseudo-random sequence based on a pseudo-random sequence polynomial; 将所述伪随机序列进行异或运算,生成加扰多项式;performing an XOR operation on the pseudo-random sequence to generate a scrambling polynomial; 根据所述加扰多项式与所述至少一个第一数据块确定所述至少一个第二数据块。The at least one second data block is determined according to the scrambling polynomial and the at least one first data block. 6.根据权利要求1-5任一项所述的数据传输装置,其特征在于,所述第一通信单元包括客户侧串行解串器和MAC模块;6. The data transmission device according to any one of claims 1-5, wherein the first communication unit includes a client-side SerDes and a MAC module; 所述客户侧串行解串器,用于接收客户侧数据,对所述客户侧数据进行串并转换和解码,得到以太网数据;向所述MAC模块发送所述以太网数据;The client-side serial deserializer is used to receive client-side data, perform serial-to-parallel conversion and decoding on the client-side data, and obtain Ethernet data; send the Ethernet data to the MAC module; 所述MAC模块,用于接收所述客户侧串行解串器发送的所述以太网数据,根据所述以太网数据,生成MAC帧数据;向所述处理模块发送所述MAC帧数据;The MAC module is configured to receive the Ethernet data sent by the client-side SerDes, generate MAC frame data according to the Ethernet data, and send the MAC frame data to the processing module; 所述第二通信单元,具体用于对所述至少一个第二数据块进行并串转换和编码,得到目标传输数据。The second communication unit is specifically configured to perform parallel-to-serial conversion and encoding on the at least one second data block to obtain target transmission data. 7.根据权利要求6所述的数据传输装置,其特征在于,所述数据传输装置还包括接口控制模块;所述接口控制模块与所述MAC模块相连接;7. The data transmission device according to claim 6, wherein the data transmission device further comprises an interface control module; the interface control module is connected to the MAC module; 所述接口控制模块,用于向所述MAC模块发送控制指令;所述控制指令包括速率模式选择指令和/或接口接收发送使能指令;所述速率模式选择指令用于配置所述MAC模块的速率模式;所述接口接收发送使能指令用于指示所述MAC模块执行数据接收操作或者数据发送操作。The interface control module is configured to send a control command to the MAC module; the control command includes a rate mode selection command and/or an interface receiving and sending enable command; the rate mode selection command is used to configure the MAC module Rate mode: the interface receiving and sending enabling instruction is used to instruct the MAC module to perform a data receiving operation or a data sending operation. 8.根据权利要求7所述的数据传输装置,其特征在于,所述MAC模块,还用于向所述接口控制模块发送统计数据;8. The data transmission device according to claim 7, wherein the MAC module is further configured to send statistical data to the interface control module; 所述接口控制模块,用于接收所述MAC模块发送的统计数据。The interface control module is configured to receive statistical data sent by the MAC module. 9.根据权利要求7所述的数据传输装置,其特征在于,所述接口控制模块还与所述处理模块相连接;9. The data transmission device according to claim 7, wherein the interface control module is also connected to the processing module; 所述接口控制模块,用于向所述处理模块发送FEC使能指令;所述FEC使能指令用于指示所述处理模块执行FEC编解码操作。The interface control module is configured to send an FEC enabling instruction to the processing module; the FEC enabling instruction is used to instruct the processing module to perform an FEC codec operation. 10.根据权利要求6所述的数据传输装置,其特征在于,所述数据传输装置还包括预设媒体独立接口;10. The data transmission device according to claim 6, characterized in that, the data transmission device further comprises a preset media-independent interface; 所述预设媒体独立接口用于连接所述客户侧串行解串器与所述MAC模块。The preset media-independent interface is used to connect the client-side SerDes and the MAC module. 11.根据权利要求6所述的数据传输装置,其特征在于,所述客户侧串行解串器包括:第一物理介质连接子层PMA模块、第一物理编码子层PCS模块和第一时钟选择模块;所述第一PMA模块与所述第一时钟选择模块相连接;所述第一PMA模块与所述第一PCS模块相连接。11. The data transmission device according to claim 6, wherein the client side serial deserializer comprises: a first physical medium connection sublayer PMA module, a first physical coding sublayer PCS module and a first clock A selection module; the first PMA module is connected to the first clock selection module; the first PMA module is connected to the first PCS module. 12.根据权利要求11所述的数据传输装置,其特征在于,所述数据传输装置还包括预设媒体独立接口;12. The data transmission device according to claim 11, characterized in that, the data transmission device further comprises a preset media-independent interface; 所述预设媒体独立接口用于连接所述第一PCS模块与所述MAC模块。The preset media independent interface is used to connect the first PCS module and the MAC module. 13.根据权利要求1-5任一项所述的数据传输装置,其特征在于,所述第二通信单元包括:第二物理介质连接子层PMA模块、第二物理编码子层PCS模块和第二时钟选择模块;所述第二PMA模块与所述第二时钟选择模块相连接;所述第二PMA模块与所述第二PCS模块相连接。13. The data transmission device according to any one of claims 1-5, wherein the second communication unit comprises: a second physical medium connection sublayer PMA module, a second physical coding sublayer PCS module, and a second physical coding sublayer PCS module. Two clock selection modules; the second PMA module is connected to the second clock selection module; the second PMA module is connected to the second PCS module. 14.一种数据传输装置,其特征在于,所述数据传输装置包括:第一通信单元、处理模块以及第二通信单元;14. A data transmission device, characterized in that the data transmission device comprises: a first communication unit, a processing module, and a second communication unit; 所述第二通信单元,用于接收目标传输数据,并根据所述目标传输数据生成至少一个第二数据块;向所述处理模块发送所述至少一个第二数据块;The second communication unit is configured to receive target transmission data, and generate at least one second data block according to the target transmission data; send the at least one second data block to the processing module; 所述处理模块,用于接收所述第二通信单元发送的所述至少一个第二数据块;对所述至少一个第二数据块进行解扰运算,得到至少一个第一数据块;对所述至少一个第一数据块进行前向纠错FEC解码并合并得到介质访问控制MAC帧数据;向所述第一通信单元发送所述MAC帧数据;The processing module is configured to receive the at least one second data block sent by the second communication unit; perform a descrambling operation on the at least one second data block to obtain at least one first data block; performing forward error correction (FEC) decoding on at least one first data block and merging to obtain medium access control MAC frame data; sending the MAC frame data to the first communication unit; 所述第一通信单元,用于接收所述处理模块发送的所述MAC帧数据,并根据所述MAC帧数据,生成客户侧数据;发送所述客户侧数据。The first communication unit is configured to receive the MAC frame data sent by the processing module, generate client-side data according to the MAC frame data, and send the client-side data. 15.根据权利要求14所述的数据传输装置,其特征在于,所述处理模块包括:异步先入先出模块、FEC解码模块以及解扰模块;15. The data transmission device according to claim 14, wherein the processing module comprises: an asynchronous first-in-first-out module, an FEC decoding module, and a descrambling module; 所述解扰模块,用于接收所述第二通信单元发送的所述至少一个第二数据块;对所述至少一个第二数据块进行解扰运算,得到至少一个第一数据块;向所述FEC解码模块发送所述至少一个第一数据块;The descrambling module is configured to receive the at least one second data block sent by the second communication unit; perform a descrambling operation on the at least one second data block to obtain at least one first data block; The FEC decoding module sends the at least one first data block; 所述FEC解码模块,用于接收所述解扰模块发送的所述至少一个第一数据块,并对所述至少一个第一数据块进行FEC解码并合并得到所述MAC帧数据;向所述异步先入先出模块发送所述MAC帧数据;The FEC decoding module is configured to receive the at least one first data block sent by the descrambling module, perform FEC decoding on the at least one first data block and combine them to obtain the MAC frame data; The asynchronous first-in-first-out module sends the MAC frame data; 所述异步先入先出模块,用于接收所述异步先入先出模块发送的所述MAC帧数据,并对所述MAC帧数据进行同步;向所述第一通信单元发送同步后的MAC帧数据。The asynchronous first-in-first-out module is used to receive the MAC frame data sent by the asynchronous first-in first-out module, and synchronize the MAC frame data; send the synchronized MAC frame data to the first communication unit . 16.根据权利要求15所述的数据传输装置,其特征在于,所述FEC解码模块包括:里德所罗门RS译码器;16. The data transmission device according to claim 15, wherein the FEC decoding module comprises: a Reed-Solomon RS decoder; 所述RS译码器用于对所述至少一个第一数据块进行FEC解码并合并得到所述MAC帧数据。The RS decoder is configured to perform FEC decoding on the at least one first data block and combine them to obtain the MAC frame data. 17.根据权利要求15所述的数据传输装置,其特征在于,所述解扰模块,具体用于:17. The data transmission device according to claim 15, wherein the descrambling module is specifically used for: 根据伪随机序列多项式生成伪随机序列;Generate a pseudo-random sequence based on a pseudo-random sequence polynomial; 将所述伪随机序列进行异或运算,生成解扰多项式;performing an XOR operation on the pseudo-random sequence to generate a descrambling polynomial; 根据所述解扰多项式与所述至少一个第二数据块确定所述至少一个第一数据块。The at least one first data block is determined according to the descrambling polynomial and the at least one second data block. 18.根据权利要求14-17任一项所述的数据传输装置,其特征在于,所述第一通信单元包括客户侧串行解串器和MAC模块;18. The data transmission device according to any one of claims 14-17, wherein the first communication unit includes a client-side SerDes and a MAC module; 所述MAC模块,用于接收所述处理模块发送的所述MAC帧数据,并根据所述MAC帧数据,生成以太网数据;向所述客户侧串行解串器发送所述以太网数据;The MAC module is configured to receive the MAC frame data sent by the processing module, and generate Ethernet data according to the MAC frame data; send the Ethernet data to the client-side SerDes; 所述客户侧串行解串器,用于接收所述MAC模块发送的所述以太网数据,并对所述以太网数据进行并串转换和编码,得到客户侧数据;发送所述客户侧数据;The client-side serial deserializer is used to receive the Ethernet data sent by the MAC module, and perform parallel-to-serial conversion and encoding on the Ethernet data to obtain client-side data; send the client-side data ; 所述第二通信单元,具体用于对所述目标传输数据进行串并转换和解码,得到至少一个第二数据块。The second communication unit is specifically configured to perform serial-to-parallel conversion and decoding on the target transmission data to obtain at least one second data block. 19.根据权利要求18所述的数据传输装置,其特征在于,所述数据传输装置还包括接口控制模块;所述接口控制模块与所述MAC模块相连接;19. The data transmission device according to claim 18, wherein the data transmission device further comprises an interface control module; the interface control module is connected to the MAC module; 所述接口控制模块,用于向所述MAC模块发送控制指令;所述控制指令包括速率模式选择指令和/或接口接收发送使能指令;所述速率模式选择指令用于配置所述MAC模块的速率模式;所述接口接收发送使能指令用于指示所述MAC模块执行数据接收操作或者数据发送操作。The interface control module is configured to send a control command to the MAC module; the control command includes a rate mode selection command and/or an interface receiving and sending enable command; the rate mode selection command is used to configure the MAC module Rate mode: the interface receiving and sending enabling instruction is used to instruct the MAC module to perform a data receiving operation or a data sending operation. 20.根据权利要求19所述的数据传输装置,其特征在于,所述MAC模块,还用于向所述接口控制模块发送统计数据;20. The data transmission device according to claim 19, wherein the MAC module is further configured to send statistical data to the interface control module; 所述接口控制模块,用于接收所述MAC模块发送的统计数据。The interface control module is configured to receive statistical data sent by the MAC module. 21.根据权利要求19所述的数据传输装置,其特征在于,所述接口控制模块还与所述处理模块相连接;21. The data transmission device according to claim 19, wherein the interface control module is also connected to the processing module; 所述接口控制模块,用于向所述处理模块发送FEC使能指令;所述FEC使能指令用于指示所述处理模块执行FEC编解码操作。The interface control module is configured to send an FEC enabling instruction to the processing module; the FEC enabling instruction is used to instruct the processing module to perform an FEC codec operation. 22.根据权利要求18所述的数据传输装置,其特征在于,所述数据传输装置还包括预设媒体独立接口;22. The data transmission device according to claim 18, characterized in that, the data transmission device further comprises a preset media-independent interface; 所述预设媒体独立接口用于连接所述客户侧串行解串器与所述MAC模块。The preset media-independent interface is used to connect the client-side SerDes and the MAC module. 23.根据权利要求18所述的数据传输装置,其特征在于,所述客户侧串行解串器包括:第一物理介质连接子层PMA模块、第一物理编码子层PCS模块和第一时钟选择模块;所述第一PMA模块与所述第一时钟选择模块相连接;所述第一PMA模块与所述第一PCS模块相连接。23. The data transmission device according to claim 18, wherein the client-side SerDes includes: a first physical medium connection sublayer PMA module, a first physical coding sublayer PCS module, and a first clock A selection module; the first PMA module is connected to the first clock selection module; the first PMA module is connected to the first PCS module. 24.根据权利要求23所述的数据传输装置,其特征在于,所述数据传输装置还包括预设媒体独立接口;24. The data transmission device according to claim 23, characterized in that, the data transmission device further comprises a preset media-independent interface; 所述预设媒体独立接口用于连接所述第一PCS模块与所述MAC模块。The preset media independent interface is used to connect the first PCS module and the MAC module. 25.根据权利要求14-17任一项所述的数据传输装置,其特征在于,所述第二通信单元包括:第二物理介质连接子层PMA模块、第二物理编码子层PCS模块和第二时钟选择模块;所述第二PMA模块与所述第二时钟选择模块相连接;所述第二PMA模块与所述第二PCS模块相连接。25. The data transmission device according to any one of claims 14-17, wherein the second communication unit comprises: a second physical medium connection sublayer PMA module, a second physical coding sublayer PCS module, and a second physical coding sublayer PCS module. Two clock selection modules; the second PMA module is connected to the second clock selection module; the second PMA module is connected to the second PCS module. 26.一种数据传输方法,其特征在于,包括:26. A data transmission method, comprising: 接收客户侧数据,并根据所述客户侧数据生成MAC帧数据;receiving client-side data, and generating MAC frame data according to the client-side data; 对所述MAC帧数据进行定长切片以及前向纠错FEC编码,得到至少一个第一数据块;performing fixed-length slicing and forward error correction (FEC) encoding on the MAC frame data to obtain at least one first data block; 对所述至少一个第一数据块进行加扰运算,得到至少一个第二数据块;performing a scrambling operation on the at least one first data block to obtain at least one second data block; 根据所述至少一个第二数据块生成目标传输数据,并发送所述目标传输数据。generating target transmission data according to the at least one second data block, and sending the target transmission data. 27.一种数据传输方法,其特征在于,包括:27. A data transmission method, comprising: 接收目标传输数据,并根据所述目标传输数据生成至少一个第二数据块;receiving target transmission data, and generating at least one second data block according to the target transmission data; 对所述至少一个第二数据块进行解扰运算,得到至少一个第一数据块;performing a descrambling operation on the at least one second data block to obtain at least one first data block; 对所述至少一个第一数据块进行前向纠错FEC解码并合并得到MAC帧数据;performing FEC decoding on the at least one first data block and merging to obtain MAC frame data; 根据所述MAC帧数据,生成客户侧数据,并发送所述客户侧数据。Generate client-side data according to the MAC frame data, and send the client-side data.
CN202211351370.0A 2022-10-31 2022-10-31 A data transmission device and method for Gigabit Ethernet Pending CN115694739A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211351370.0A CN115694739A (en) 2022-10-31 2022-10-31 A data transmission device and method for Gigabit Ethernet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211351370.0A CN115694739A (en) 2022-10-31 2022-10-31 A data transmission device and method for Gigabit Ethernet

Publications (1)

Publication Number Publication Date
CN115694739A true CN115694739A (en) 2023-02-03

Family

ID=85045817

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211351370.0A Pending CN115694739A (en) 2022-10-31 2022-10-31 A data transmission device and method for Gigabit Ethernet

Country Status (1)

Country Link
CN (1) CN115694739A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116827717A (en) * 2023-08-25 2023-09-29 深圳市汇顶科技股份有限公司 Data forwarding method, chip and electronic equipment
CN117851323A (en) * 2024-01-24 2024-04-09 苏州异格技术有限公司 PCIE interface construction method and PCIE interface construction system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116827717A (en) * 2023-08-25 2023-09-29 深圳市汇顶科技股份有限公司 Data forwarding method, chip and electronic equipment
CN116827717B (en) * 2023-08-25 2024-01-02 深圳市汇顶科技股份有限公司 Data forwarding method, chip and electronic equipment
CN117851323A (en) * 2024-01-24 2024-04-09 苏州异格技术有限公司 PCIE interface construction method and PCIE interface construction system
CN117851323B (en) * 2024-01-24 2024-06-07 苏州异格技术有限公司 PCIE interface construction method and PCIE interface construction system

Similar Documents

Publication Publication Date Title
US10341261B2 (en) Bonding device and method
US8488450B2 (en) Method and system for physical layer aggregation
US20240259133A1 (en) Method, apparatus, and system for improving reliability of data transmission involving an ethernet device
CN115694739A (en) A data transmission device and method for Gigabit Ethernet
JP2005524281A (en) Forward error correction coding in an Ethernet network
US20100262887A1 (en) High Integrity Data Network System and Method
JP5696308B2 (en) Node device, integrated circuit and control method in ring transmission system
WO2011107004A1 (en) Processing method and device for downlink frame synchronization used in gigabit-capable passive optical network system
WO2020253403A1 (en) Overhead monitoring method and apparatus, and computer readable storage medium
US7734965B1 (en) Methods, architectures, circuits and systems for transmission error determination
US6973072B1 (en) High performance protocol for an interconnect system of an intermediate network node
CN110838892B (en) High-reliability merging and forwarding method for multi-path full-duplex serial port
CN113938329A (en) Interfaces, Electronics and Communication Systems
US6968492B1 (en) Hardware-efficient CRC generator for high speed communication networks
WO2024148984A1 (en) Data transmission method and apparatus, device, system, and storage medium
WO2024001230A1 (en) Bearing method, communication equipment and storage medium
WO2024169343A1 (en) Data sending method, device, and system in ethernet
WO2019023824A1 (en) Method and device for bit block stream processing, rate matching and exchange
WO2024193265A1 (en) Data transmission method and related apparatus
Wang et al. Design of converged network coding layer for the Ethernet and HPC high-speed network
WO2025002132A1 (en) Data stream deinterleaving method, device, and system
CN118476208A (en) Data transmission method, device and system
Jiang et al. Analysis and implementation of FEC in 10G-EPON
CN118786657A (en) Initializes the system arrangement for packet-based data transmission
KR100670041B1 (en) Fast Ethernet Receive Data Error Correction Circuit

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination