Patent ID: 9112915
Filing Date: 2015-08-18
Classification: H04L

Abstract:
1. A method of protocol parsing, comprising: determining whether a protocol type of a packet is recognized through flow table matching performed on the packet; performing keyword matching on the packet according to a keyword matching rule in a keyword library corresponding to the protocol type of the packet when the protocol type is recognized as a text-based protocol type according to the determining, and extracting content of a keyword to be parsed in the packet, the keyword matching rule in the keyword library including a keyword and the content of the keyword to be parsed expressed using a regular expression; and performing protocol recognition on the packet when the protocol type of the packet recognized is other than a text-based protocol type according to the determining, and sending a result of the protocol recognition to an application software program to process, and wherein when the protocol type of the packet is determined unrecognized through the flow table matching, performing signature recognition to determine whether the protocol type of the packet is recognized as a text-based protocol type; and performing the keyword matching on the packet when the protocol type of the packet is recognized as a text-based protocol type through the signature recognition; otherwise, performing protocol recognition on the packet to recognize the protocol type of the packet.