发明名称 METHOD AND APPARATUS FOR PROTOCOL PARSING
摘要 <p>A method and apparatus for protocol parsing are disclosed, solving the following problem: when protocol parsing is performed by scanning bytes one by one according to the prior art, parsing of new rules requires a large amount of time, which is complicated, and does not facilitate extension of new rules. The method includes: performing flow table matching on a received packet to recognize a protocol of the packet; and when a protocol type of the packet is recognized and it is determined that the protocol type of the packet is a text-based protocol type, performing keyword matching on the packet according to a keyword matching rule in a keyword library corresponding to the protocol type of the packet, and extracting content of a keyword to be parsed in the packet; wherein, the keyword matching rule in the keyword library includes a keyword to be parsed that is expressed by using a regular expression and content of the keyword. The present invention applies to a device that parses a protocol of a packet.</p>
申请公布号 EP2560338(A1) 申请公布日期 2013.02.20
申请号 EP20110838992 申请日期 2011.06.13
申请人 HUAWEI TECHNOLOGIES CO., LTD 发明人 SU, DEXIAN
分类号 H04L29/06;H04L12/26;H04L12/851 主分类号 H04L29/06
代理机构 代理人
主权项
地址