MAC PDU Parsing with Invalid LCID Handling
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Communications devices face errors when processing Media Access Control (MAC) protocol data units (PDUs) due to invalid or reserved logical channel identifiers (LCIDs), leading to parsing failures and subsequent errors in subsequent sub-PDUs.
Innovation Solution
A method and apparatus for parsing MAC PDUs that stop parsing when an invalid or reserved LCID is encountered, reserving successfully parsed sub-PDUs and discarding subsequent sub-PDUs to prevent errors, and sending parsed service data units (SDUs) or control elements to higher layers promptly to optimize storage usage.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If parsing continues without stopping at invalid LCIDs, then all sub-PDUs are processed, but parsing errors occur and subsequent sub-PDUs cannot be correctly processed
Solution Approach 1:
The patent applies the skipping principle by detecting an invalid LCID during sequential parsing and immediately stopping further parsing of subsequent sub-PDUs. This prevents the propagation of parsing errors while maintaining processing efficiency by not attempting to parse corrupted data. The parser skips the erroneous path and preserves already successfully parsed sub-PDUs.
2Productivity
If all sub-PDUs are parsed regardless of errors, then processing is completed, but error propagation occurs affecting subsequent sub-PDUs
Solution Approach 1:
The patent implements beforehand cushioning by introducing an error detection mechanism that identifies invalid LCIDs before they can cause cascading parsing errors. When an invalid LCID is detected, the parser immediately stops processing and preserves the state of successfully parsed sub-PDUs, preventing error propagation to subsequent sub-PDUs while maintaining overall processing completion.
3Quantity of substance
If parsed SDUs are held in storage until end of parsing, then data is available for processing, but storage occupancy increases
Solution Approach 1:
The patent applies preliminary action by immediately sending successfully parsed SDUs and control elements to higher layers as soon as parsing is complete, rather than holding them in storage until the entire MAC PDU parsing is finished. This reduces storage occupancy while ensuring data is promptly available for higher layer processing, eliminating unnecessary delays.
Data Source
AI summary
A Media Access Control (MAC) protocol data unit processing method includes: obtaining a MAC protocol data unit (PDU), wherein the MAC PDU includes N sub-PDUs, each sub-PDU includes a logical channel identifier (LCID), the N sub-PDUs are arranged in a first sequence, and N is a positive integer; parsing the N sub-PDUs according to the first sequence, and when a first sub-PDU is parsed, stopping the parsing and reserving a parsed second sub-PDU, wherein the second sub-PDU includes at least one sub-PDU before the first sub-PDU in the N sub-PDUs in the first sequence, and a value of an LCID included in the first sub-PDU is a specified reserved value. In this way, a manner for processing a MAC PDU can be provided when a value of an LCID is an invalid value or a reserved value.


