Header decoding method and device
The invention relates to a header decoding method and device, belongs to the technical field of network protocols, and solves the problem that a whole data packet cannot be subjected to subsequent processing due to direct error return when encountering decoding errors in the prior art. The method co...
Saved in:
Main Authors | , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
31.03.2023
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention relates to a header decoding method and device, belongs to the technical field of network protocols, and solves the problem that a whole data packet cannot be subjected to subsequent processing due to direct error return when encountering decoding errors in the prior art. The method comprises the following steps: receiving a HEADER frame from a transmitting end, wherein the HEADER frame comprises a plurality of coding header fields; the following steps are sequentially performed on each coding header field in the plurality of coding header fields: identifying a coding format of the coding header field, the coding format including header field index format coding, header field increment index tape index name format coding and the like; decoding the identified coding header field based on the identified coding format and judging whether the decoding is successful or not; and when the decoding fails, starting a single header field decoding exception repair mechanism. When decoding fails, a single-h |
---|---|
Bibliography: | Application Number: CN202111125652 |