A method for parsing a network message, comprising:: receiving a network message, wherein the network message comprises more than one section; identifying that an application protocol type of the network message is a first application protocol; acquiring, from a current section that is of the network message and described by a piece of section description information in a configuration file corresponding to the first application protocol, interesting data indicated by interesting data indication information in the section description information; and executing a decision method in the section description information by using all or a part of the acquired interesting data as a decision condition, to obtain a corresponding decision result, wherein when the current section is a last section of the network message, the decision result comprises a processing method of a next message of the network message, and the network message and the next message belong to a same application layer, wherein the decision method is used for describing that different atomic methods are executed according to different decision conditions; the decision condition comprises one or more pieces of interesting data; and the decision result comprises one or more of the following atomic methods and a parameter required by execution of the atomic method; and the executed atomic method comprises any one or a combination of the following: setting a next section, changing a protocol type of a first section of the next message, setting a protocol type of the next section, and setting a decoding algorithm that needs to be performed before the next section is to be processed. receiving a network message, wherein the network message comprises more than one section; identifying that an application protocol type of the network message is a first application protocol; acquiring, from a current section that is of the network message and described by a piece of section description information in a configuration file corresponding to the first application protocol, interesting data indicated by interesting data indication information in the section description information; and executing a decision method in the section description information by using all or a part of the acquired interesting data as a decision condition, to obtain a corresponding decision result, wherein when the current section is a last section of the network message, the decision result comprises a processing method of a next message of the network message, and the network message and the next message belong to a same application layer, wherein the decision method is used for describing that different atomic methods are executed according to different decision conditions; the decision condition comprises one or more pieces of interesting data; and the decision result comprises one or more of the following atomic methods and a parameter required by execution of the atomic method; and the executed atomic method comprises any one or a combination of the following: setting a next section, changing a protocol type of a first section of the next message, setting a protocol type of the next section, and setting a decoding algorithm that needs to be performed before the next section is to be processed.