Ethernet Interface Data Stream Virtual Lane Mapping
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing data processing systems struggle to handle data streams from different sources with different frequencies, as they often end up in different clock domains, making further processing difficult.
Innovation Solution
A method that maps data streams from different sources to virtual lanes and adds padding data to ensure they are processed under a single clock domain, allowing for subsequent processing to be performed efficiently.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the receiver processes data streams from different sources using separate CDR circuits according to prior art, then each data stream can be recovered independently, but the processed data streams end up in different clock domains making further processing difficult
Solution Approach 1:
The patent merges multiple data streams from different sources into a single unified data stream by mapping them to virtual lanes. This combining approach allows all data streams to share a common clock domain, enabling subsequent processing operations to be performed uniformly across all streams without the complexity of handling multiple independent clock domains.
Solution Approach 2:
The patent introduces virtual lanes as an intermediary layer between the physical lanes and the processing logic. These virtual lanes serve as a mediation mechanism that absorbs the frequency differences between various data streams and presents a unified interface to the processing system, allowing streams from different clock domains to be handled together.
2Productivity
If the receiver directly processes data streams with different frequencies, then processing can be performed immediately, but the data streams cannot be ensured to be in the same clock domain
Solution Approach 1:
The patent performs preliminary mapping of data streams to virtual lanes before the actual processing occurs. This advance organization establishes a common reference framework that ensures clock domain compatibility is achieved beforehand, allowing subsequent high-speed processing to proceed without synchronization issues.
Solution Approach 2:
The patent changes the organizational parameter of data streams from physical lane-based to virtual lane-based. This parameter transformation allows the system to abstract away the frequency differences of individual streams and present them in a unified manner, enabling both high productivity and clock domain consistency.
3Adaptability or versatility
If multiple data streams from different sources are received, then the system can handle diverse input, but it becomes difficult to perform uniform subsequent processing on all streams
Solution Approach 1:
The patent creates a universal processing framework where virtual lanes serve as a common interface for all data streams regardless of their source or frequency. This universalization allows the same processing logic to be applied uniformly to all streams, maintaining adaptability for handling diverse inputs while reducing processing complexity through standardized operations.
Data Source
Figure 1
Figure 2~3
Figure 4
AI summary
Embodiments of the present invention provide a data processing method and apparatus, including: receiving X data streams through X physical lanes of an Ethernet interface, converting the X data streams into M data streams transmitted on M virtual lanes, and performing bandwidth adjustment on each data stream of the M data streams to obtain M first data streams; receiving Y data streams through Y physical lanes of the Ethernet interface, converting the Y data streams into N data streams transmitted on N virtual lanes, and performing bandwidth adjustment on each data stream of the N data streams to obtain N second data streams. In addition, a corresponding apparatus is further provided. By using the foregoing technical solution, received data streams of different sources and different frequencies can be processed.