Multilayer protocol analysis method and device as well as data matching method and device
The invention relates to a multilayer protocol analysis method and device as well as a data matching method and device. The multilayer protocol analysis method applied to a first syntactic analyzer comprises the steps of receiving to-be-matched first protocol data; pushing a terminal symbol of a low...
Saved in:
Main Authors | , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
10.05.2017
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention relates to a multilayer protocol analysis method and device as well as a data matching method and device. The multilayer protocol analysis method applied to a first syntactic analyzer comprises the steps of receiving to-be-matched first protocol data; pushing a terminal symbol of a lower-layer protocol into a stack top of a symbol stack and inputting the to-be-matched first protocol data into a lexical analyzer corresponding to the current stack top state of the state stack; receiving a matching result returned by the lexical analyzer; carrying out syntactic analysis on a first terminal symbol with a predicate; when the syntactic analysis on the first terminal symbol with the predicate is finished, judging whether a next importable event in the current stack top state of the state stack is the target non-terminal symbol of the upper-layer protocol; and when determining that the next importable event is the target non-terminal symbol of the upper-layer protocol, sending the to-be-matched second p |
---|---|
Bibliography: | Application Number: CN201611218602 |