摘要 |
Disclosed in the present invention are a device and a method for adjusting line sequences in Ethernet transmission, which are used to solve the technical problems of high resources cost and working frequency not meeting the request of the high- speed system in prior methods for adjusting line sequences. The device for adjusting line sequences provided by the invention comprises a line sequence detection module and a line sequence lock module. The line sequence detection module is used for detecting the line sequence corresponding to each channel, acquiring the sequence numbers of said channels, encoding said sequence numbers, and sending the encoded sequence numbers to the line sequence lock module. The line sequence lock module is used for adjusting the sequence of input data in accordance with the received encoded sequence numbers to obtain the adjusted data streams, and then sending the adjusted data streams and locking the sequence of the adjusted data streams at the same time. With adjusting and locking the line sequences, the device and method provided by the invention, with high working frequency and low resources occupancy, can be used to correctly recover data sequences as soon as possible. |