The invention discloses a
modbus hold register process parameter dynamic extraction method and device based on
deep packet inspection (DPI), and relates to the technical field of industrial
automation communication, and the
modbus hold register process parameter dynamic extraction device comprises a flow capture module, a message preprocessing module, a DPI deep analysis module, a parameter mapping and conversion module, an abnormity monitoring module, a data output module and a power supply module. The flow capturing module captures
Modbus flow, the message preprocessing module achieves frame segmentation and CRC
verification through an FPGA, the DPI deep analysis module filters key function codes and extracts
original data, the parameter mapping and conversion module automatically converts the key function codes into actual parameters according to pre-configuration, the abnormity monitoring module achieves threshold and behavior warning, and the data output module supports multi-interface transmission. The device supports
passive monitoring and active subscription
modes, realizes non-intrusive, low-load and high-precision process parameter extraction, solves the problems that traditional acquisition depends on interfaces,
polling is low in efficiency and conversion is easy to make mistakes, and is suitable for industrial automatic production scenes.