Ethernet PHY Encoding with Flexible Block Length and Header Overhead
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current Ethernet physical layer encoding methods, such as 64b/66b, face limitations in flexibility for selecting the length of the information group and redundancy overhead, making optimal header overhead control and forward error correction challenging, especially for high-speed Ethernet applications like 1000GE.
Innovation Solution
The proposed method involves determining a to-be-encoded information group, detecting character attributes, deleting boundary characters, generating a second information group, and adding header information based on the type and attributes of the original group, allowing for flexible encoding and decoding processes.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If 64b/66b encoding is used, then encoding overhead is controlled, but flexibility in selecting information group length is limited
Solution Approach 1:
The encoding method segments the information group into different types (first type with all data characters, second type with control characters) and applies different encoding rules to each type. This allows flexible selection of information group length while maintaining manageable encoding complexity through type-based classification.
Solution Approach 2:
The patent introduces dynamic encoding where the encoding format adapts based on the content type of the information group. The encoder dynamically selects between different encoding modes (64b/66b for data-heavy groups, alternative encoding for control-heavy groups) based on the detected character composition, providing flexibility without requiring a fixed rigid structure.
2Ease of manufacture
If fixed encoding length is used, then encoding simplicity is maintained, but optimal header overhead control becomes difficult
Solution Approach 1:
The patent changes the parameter of information group length from fixed to variable based on the actual data requirements. By detecting the type of characters in the information group and adjusting the encoding format accordingly, the system achieves optimal header overhead control while maintaining implementation simplicity through standardized encoding rules for each type.
Solution Approach 2:
The patent uses template-based encoding where predefined encoding patterns are copied and applied based on the information group type. This allows the system to maintain simplicity by reusing standardized encoding templates while achieving optimization through selective application of different templates based on content analysis.
3Loss of information
If transcoding overhead compression is applied, then redundancy overhead is reduced, but encoding complexity increases
Solution Approach 1:
The patent extracts and removes redundant header information by identifying and eliminating unnecessary control characters and overhead bytes. By taking out only the essential information needed for decoding while removing redundant elements, the system reduces overhead without requiring complex transcoding processes.
Solution Approach 2:
The patent performs preliminary analysis of the information group content before encoding, detecting the type of characters present. This preliminary action allows the system to select the most efficient encoding format in advance, avoiding the need for complex post-encoding compression and simplifying the overall transcoding process.
Data Source
AI summary
The present invention discloses encoding and decoding methods and apparatuses of an Ethernet physical layer, the encoding method includes: determining a to-be-encoded first information group, where the first information group includes m characters, m≧2, and m is an integer, where a character attribute of any character is a data character, a boundary character, or a third-type character, and one character occupies one byte; detecting a character attribute of each character in the first information group; if the first information group includes n boundary characters, where n≧1, and n is an integer, deleting the n boundary characters, and generating a second information group by using a character, except the n boundary characters, in the first information group, and type information and position information that are of the n boundary characters, where the second information group includes m bytes; and adding header information to the second information group.


