×

Method for parsing network message and communication device

  • US 9,819,719 B2
  • Filed: 05/30/2014
  • Issued: 11/14/2017
  • Est. Priority Date: 11/30/2011
  • Status: Active Grant
First Claim
Patent Images

1. A method for parsing a network message implemented in a network device comprising:

  • maintaining configuration files corresponding to different application protocol types;

    receiving a network message, wherein the network message comprises one or more sections;

    identifying that an application protocol type of the network message is a first application protocol;

    acquiring interesting data indicated by an interesting data indication information in a section description information from a current section that is in the network message and that is described by a piece of the section description information in one of the configuration files corresponding to the first application protocol; and

    executing a decision method in the section description information using all or a part of the acquired interesting data as a decision condition to obtain a decision result,wherein the decision result comprises a processing method of a next message of the network message when the current section is a last section of the network message,wherein both the network message and the next message belong to a same application layer,wherein the decision method indicates that different atomic methods are executed according to different decision conditions,wherein the decision condition comprises one or more pieces of interesting data,wherein the acquired interesting data comprises a protocol type information of the next section when the interesting data indication information comprises first indication information that indicates protocol type information of the next section,wherein the decision result comprises an atomic method of changing a protocol type of a first section of the next message when the protocol type information is used as the decision condition, andwherein the protocol type of the first section of the next message is a protocol type indicated by the protocol type information.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×