MESSAGE PARSING METHOD AND APPARATUS

Embodiments of this application disclose a packet parsing method and apparatus, and relate to the field of electronic information, to resolve a problem in the conventional technology that a special type of packet header cannot be accurately parsed through proper programming during packet parsing. A...

Full description

Saved in:
Bibliographic Details
Main Authors ROITSHTEIN, Amir, SHI, Yongliang, ARONOV, Irena, ADMON, Itay, BICK, Yoni
Format Patent
LanguageEnglish
French
German
Published 19.04.2023
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:Embodiments of this application disclose a packet parsing method and apparatus, and relate to the field of electronic information, to resolve a problem in the conventional technology that a special type of packet header cannot be accurately parsed through proper programming during packet parsing. A specific solution is: receiving a packet that includes at least a first packet header and a second packet header; obtaining a configuration of the first packet header, and accordingly obtaining first configuration information from the first packet header, where the first configuration information includes an NHF and an additional field of the first packet header; searching a first table based on the additional field to obtain a protocol type corresponding to the additional field, and searching a second table based on the NHF to obtain a protocol type corresponding to the NHF; when there is the protocol type corresponding to the additional field in the first table, obtaining a protocol type of the second packet header based on the protocol type corresponding to the additional field; and when there is no protocol type corresponding to the additional field in the first table, obtaining the protocol type of the second packet header based on the protocol type corresponding to the NHF.
Bibliography:Application Number: EP20200933357