Ethernet PHY Encoding with Variable Block Length and Boundary Extraction
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current Ethernet physical layer encoding methods lack flexibility in selecting the length of the information group and redundancy overhead, making optimal header overhead control and matched Forward Error Correction (FEC) encoding difficult, especially for high-speed Ethernet applications like 1000GE.
Innovation Solution
The 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 position of boundary characters to optimize encoding efficiency and flexibility.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If 64b/66b encoding is used, then encoding compatibility is maintained, but encoding overhead and inflexibility increase
Solution Approach 1:
The patent applies dynamics by making the information group length variable rather than fixed. The encoding system dynamically adapts the information group length (e.g., 64b, 128b, 256b) based on the data characteristics and transmission requirements, allowing the encoding scheme to be flexible and adaptable to different scenarios while maintaining manageable complexity through standardized processing methods.
Solution Approach 2:
The patent changes the parameter of information group length from a fixed value to a variable parameter. By allowing the information group length to be adjusted according to different transmission needs and data types, the encoding system achieves better adaptability and optimization of overhead while maintaining encoding compatibility through consistent processing rules.
2Productivity
If fixed information group length is used, then encoding simplicity is maintained, but optimal overhead control and FEC matching become difficult
Solution Approach 1:
The patent makes the information group length dynamic to optimize encoding efficiency. By adjusting the information group length based on data characteristics and transmission requirements, the system achieves better encoding efficiency while maintaining compatibility with various FEC encoding schemes, resolving the contradiction between simplicity and adaptability.
Solution Approach 2:
The patent segments the encoding process into standardized steps that can be applied to different information group lengths. This segmentation allows the system to handle variable-length information groups efficiently while maintaining encoding simplicity through consistent processing methods, thereby improving both encoding efficiency and FEC adaptability.
3Loss of information
If boundary characters are retained in information group, then position information is preserved, but redundancy overhead increases
Solution Approach 1:
The patent extracts boundary characters from the information group and records their position information separately. This extraction reduces the redundancy overhead in the main data stream while preserving the necessary position information of boundary characters, thereby resolving the contradiction between information preservation and overhead reduction.
Solution Approach 2:
The patent uses position information as an intermediary to represent boundary characters. Instead of directly transmitting boundary characters which会增加 redundancy overhead, the system records their positions and uses this position information to reconstruct the original data structure, thereby reducing overhead while preserving essential information.
Data Source
Figure 1
Figure 2
Figure 3~4
AI summary
The present invention discloses encoding and decoding methods and apparatuses of an Ethernet physical layer, where the methods and apparatuses relate to the field of communications technologies and are used to increase encoding/decoding efficiency and flexibility of selecting a length of a to-be-encoded/decoded information group. The encoding method provided by the present invention 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.