The invention discloses an automatic industrial control protocol reverse
system and method based on a global voting expert
algorithm, and relates to the technical field of network protocols, a data packet is divided into
inference fields of fixed-length fields and variable-length fields by accurately identifying the message boundary of an industrial control protocol, and the
inference fields are analyzed by analyzing the logic relation of the
inference fields, so that the inference fields of the fixed-length fields and the variable-length fields are obtained. The method comprises the steps of judging the
confusion degree between fields, classifying similar messages into clusters according to the field structure and the distribution of function codes, evaluating the diversity of the function codes, evaluating the accuracy of analysis according to the logic
confusion degree and the distribution of the function codes, and dividing the analysis into high, medium and low levels; and the anomaly prediction module determines whether to adjust
algorithm parameters or perform local optimization through anomaly degree prediction of the accuracy value, so that the accuracy and the stability of protocol analysis are improved, the defects of an existing tool in
processing protocol diversity and clustering errors are overcome, and the accuracy and the reliability of protocol analysis are improved. And the generated protocol format tree can accurately reflect the structure of the complex industrial protocol.