Method for Parsing Network Message and Communication Device
First Claim
1. A method for parsing a network message, comprising:
- 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, from a current section that is in the network message and that is 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, thereby obtaining 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, andwherein both the network message and the next message belong to a same application layer.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for parsing a network message and a communication device are provided. The method includes: receiving a network message, where the network message includes one or more sections; identifying that an application protocol type of the network message is a first application protocol; acquiring, from a current section that is in the network message and that is 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, thereby obtaining a corresponding decision result, when the current section is a last section of the network message, the decision result includes a processing method of a next message of the network message.
-
Citations
38 Claims
-
1. A method for parsing a network message, comprising:
-
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, from a current section that is in the network message and that is 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, thereby obtaining 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 wherein both the network message and the next message belong to a same application layer. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A communication device, comprising:
-
a communications module configured to receive a network message, wherein the network message comprises one or more sections; an identification module configured to identify that an application protocol type of the network message is a first application protocol; and a parsing module configured to; acquire, from a current section that is in the network message and that is 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 execute a decision method in the section description information by using all or a part of the acquired interesting data as a decision condition, thereby obtaining 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 both the network message and the next message belong to a same application layer. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20, 21)
-
-
22. A parsing system, comprising:
-
a processing engine; and a compiling engine configured to compile a configuration file into protocol parsing auxiliary data that can be identified by the processing engine, wherein different application protocol types correspond to different configuration files, wherein the processing engine is configured to; receive a network message comprising one or more sections; identify that an application protocol type of the network message is a first application protocol; acquire, from a current section that is in the network message and that is described by a piece of section description information in protocol parsing auxiliary data corresponding to the first application protocol, interesting data indicated by interesting data indication information in the section description information; and execute a decision method in the section description information by using all or a part of the acquired interesting data as a decision condition, thereby obtaining 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 both the network message and the next message belong to a same application layer. - View Dependent Claims (23, 24, 25, 26, 27, 28)
-
-
29. A computer system, comprising:
-
an interface; a memory; and a processor connected to the memory and configured to; obtain a network message which is received from the interface, wherein the network message comprises one or more sections; identify that an application protocol type of the network message is a first application protocol; acquire, from a current section that is in the network message and that is 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 execute a decision method in the section description information by using all or a part of the acquired interesting data as a decision condition, thereby obtaining 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 both the network message and the next message belong to a same application layer. - View Dependent Claims (30, 31, 32, 33, 34, 35, 36, 37, 38)
-
Specification